Operations related to authentication tokens
Also available as HTTP POST (endpoint: /api/v3/Estimate/p)
Required Group Role: "Orders" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Estimate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"PageNumber": 1,
"PageSize": 20,
"From": "2019-12-01T00:00:00",
"To": "2019-12-31T23:59:59"
}'
[ { "Outlet": "Outlet1", "Number": "19.12.00102", "Customer": "Hendry", "Date": "2019-12-31T00:00:00", "Created": "2019-12-31T09:30:01" }, { "Outlet": "Outlet1", "Number": "Estimate001", "Customer": "Hendry", "Date": "2019-12-05T00:00:00", "Status": "Approved", "Created": "2019-12-05T08:45:08" } ]
Channel Tagging system. (ex:Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards Compatibility with property request "SalesType"
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Estimate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet 1",
"Number": "OTL1.23.01.005",
"Date": "2023-01-20",
"Discount": 20,
"DiscountAmount": 10000,
"TaxType": "No Tax",
"Tag": "Walk In",
"Customer": {
"Email": "Hendry@dealpos.com",
"Name": "Hendry",
"Mobile": 85693145151,
"Address": "Jl. Muara Karang P3T No.30",
"Gender": "1",
"Code": "HW001"
},
"Variants": [
{
"Code": "Bj001",
"Quantity": 1,
"Cost": 200000,
"Price": 500000,
"Discount": 10,
"Note": "New Arrival"
}
]
}'
{ "ID": "c1b2c529-fa67-4e81-ac65-10d315051824" }
Channel Tagging system. (ex:Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards Compatibility with property request "SalesType"
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Estimate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet 1",
"Number": "OTL1.23.01.005",
"Date": "2023-01-20",
"Discount": 20,
"DiscountAmount": 10000,
"TaxType": "No Tax",
"Tag": "Walk In",
"Customer": {
"Email": "Hendry@dealpos.com",
"Name": "Hendry",
"Mobile": 85693145151,
"Address": "Jl. Muara Karang P3T No.30",
"Gender": "1",
"Code": "HW001"
},
"Variants": [
{
"Code": "Bj001",
"Quantity": 1,
"Cost": 200000,
"Price": 500000,
"Discount": 10,
"Note": "New Arrival"
}
]
}'
{ "ID": "5d76bd2f-43e1-401f-98ad-c159b8c6ac6c" }
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/Estimate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "Estimate001"
}'
{ "Message": "Estimate befa74af-234f-4a43-bd87-054b41824a5e has been deleted!" }
Also available as HTTP POST with the same endpoint
Required Group Role: "Orders" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Estimate/Detail \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet 1",
"Number": "OTL1.23.01.005"
}'
{ "Outlet": "Outlet 1", "Number": "OTL1.23.01.005", "Date": "2023-01-20", "Discount": 20, "DiscountAmount": 10000, "TaxType": "No Tax", "Tag": "Walk In", "Customer": { "Email": "Hendry@dealpos.com", "Name": "Hendry", "Mobile": 85693145151, "Address": "Jl. Muara Karang P3T No.30", "Gender": "1", "Code": "HW001" }, "Variants": [ { … } ] }
Also available as HTTP POST with the same endpoint
Get list of estimate order with total count
Required Group Role: "Orders" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Estimate/WithTotalCount \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"PageNumber": 1,
"PageSize": 20,
"From": "2019-12-01",
"To": "2019-12-31"
}'
{ "Data": [ { … }, { … } ], "TotalCount": 100 }
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Estimate/ConvertToSalesOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "23.03.0003",
"OrderNumber": "23.03.0003"
}'
{ "ID": "ea11903e-d396-44f4-8bb8-185cbaead18c" }
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Estimate/ConvertToInvoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "23.03.0003"
}'
{ "ID": "ea11903e-d396-44f4-8bb8-185cbaead18c" }