Operations related to authentication tokens
Also available as HTTP POST with the same endpoint
Required Group Role: "Report" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Report \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"From": "2021-03-01T00:00:00",
"To": "2021-03-31T00:00:00",
"PageNumber": 1,
"PageSize": 100
}'
{ "Data": [ { … } ], "TotalRow": 1 }
Also available as HTTP POST with the same endpoint
Required Group Role: "Report" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Report/SalesPerson \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet 1",
"From": "2021-01-01",
"To": "2021-01-31"
}'
[ { "SalesPerson": "James", "Transaction": 1, "Quantity": 1, "Sales": 8000, "Tax": 0, "SalesNTax": 8000, "Cost": 2000, "Profit": 6000 }, { "SalesPerson": "Ferdiansyah Rahman", "Transaction": 1, "Quantity": 2, "Sales": 20000, "Tax": 0, "SalesNTax": 20000, "Cost": 1000000, "Profit": -980000 } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Report" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Report/OutletPerformance \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"From": "2021-01-01",
"To": "2021-01-31"
}'
[ { "Outlet": "Outlet2", "Transaction": 4, "Sales": 25120260, "Tax": 0, "SalesNTax": 25120260, "Cost": 10123590.91, "Profit": 14996669.09 }, { "Outlet": "Outlet1", "Transaction": 23, "Sales": 10024000, "Tax": 0, "SalesNTax": 10024000, "Cost": 5835862.6, "Profit": 4188137.4 } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Report" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Report/WithItemNetSales \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"From": "2021-01-01",
"To": "2021-01-31",
"PageNumber": 1,
"PageSize": 20
}'
{ "Data": [ { … } ], "TotalRow": 1 }
Also available as HTTP POST with the same endpoint
Required Group Role: "Report" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Report/DailySales \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": [
"Outlet1"
],
"Year": 2021
}'
[ { "Month": "January", "Trans": 34, "SalesNTax": 1021000, "Cost": 881615.75 }, { "Month": "February", "Trans": 376, "SalesNTax": 135397168.68, "Cost": 97501389.32 }, { "Month": "March", "Trans": 311, "SalesNTax": 45215217.85, "Cost": 34635477.25 }, { "Month": "April", "Trans": 86, "SalesNTax": 18103161.03, "Cost": 17157404.54 }, { "Month": "May", "Trans": 5, "SalesNTax": 247000.12, "Cost": 90522.17 }, { "Month": "June", "Trans": 94, "SalesNTax": 13250883.61, "Cost": 18746522.55 }, { "Month": "July", "Trans": 139, "SalesNTax": 14682156.82, "Cost": 17858903.23 }, { "Month": "August", "Trans": 38, "SalesNTax": 1573348.5, "Cost": 9734012.73 }, { "Month": "September", "Trans": 108, "SalesNTax": 468493094.25, "Cost": 17126179.21 }, { "Month": "October", "Trans": 152, "SalesNTax": 34584026.75, "Cost": 4806827.8 }, { "Month": "November", "Trans": 166, "SalesNTax": 26655324, "Cost": 14904432.27 } ]