Operations related to authentication tokens
Delivery Status of Transfer Order
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/TransferOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Destination": "Outlet2",
"Date": "10/10/2018",
"Number": "18.07.02.0000002",
"Courier": "JNE",
"Note": "Yes Kirim",
"Variants": [
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
},
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
}
]
}'
{ "ID": "0b151d3f-e7ab-44dd-a63a-dbc4019d5cad" }
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/TransferOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Destination": "Outlet2",
"Date": "10/10/2018",
"Number": "18.07.02.0000002",
"Courier": "JNE",
"Note": "Yes Kirim",
"Variants": [
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
},
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
}
]
}'
{ "ID": "0b151d3f-e7ab-44dd-a63a-dbc4019d5cad" }
Previous Endpoint: /api/v3/OutletDelivery. As for now, both the new & the old ones can be use.
Also available as HTTP POST (endpoint: /api/v3/OutletDelivery/p)
Required Group Role: "Logistic" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/TransferOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"From": "2019-01-01",
"To": "2019-01-30",
"PageNumber": 1,
"PageSize": 20,
"Status": ""
}'
[ { "Number": "19.01.18.000000002", "Date": "2019-01-18T00:00:00", "Courier": "JsonSerializerOptions", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-18T15:14:48.64", "Quantity": 2 }, { "Number": "19.01.18.000000001", "Date": "2019-01-18T00:00:00", "Courier": "JsonSerializerOptions", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Dispatched", "Created": "2019-01-18T15:13:27.377", "Quantity": 2 }, { "Number": "19.01.17.000000005", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T16:48:30.813", "Quantity": 8 }, { "Number": "19.01.17.000000004", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Dispatched", "Created": "2019-01-17T16:47:09.893", "Quantity": 5 }, { "Number": "19.01.17.000000003", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T13:59:16.77", "Quantity": 1 }, { "Number": "19.01.17.000000001", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T10:08:34.61", "Quantity": 1 }, { "Number": "19.01.17.000000002", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 2", "OutletCode": "OT2", "Destination": "Outlet 3", "DestinationCode": "OT3", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T15:57:50.71", "Quantity": 7 }, { "Number": "19.01.17.000000001", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 2", "OutletCode": "OT2", "Destination": "Outlet 3", "DestinationCode": "OT3", "TypeName": "Restock", "Status": "Dispatched", "Created": "2019-01-17T15:49:20.533", "Quantity": 7 }, { "Number": "19.01.15.000000004", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T11:15:57.027", "Quantity": 3 }, { "Number": "19.01.15.000000003", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T11:14:21.953", "Quantity": 7 }, { "Number": "19.01.15.000000002", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T11:07:44.59", "Quantity": 3 }, { "Number": "19.01.15.000000001", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T10:43:41.89", "Quantity": 2 }, { "Number": "19.01.14.000000001", "Date": "2019-01-14T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-14T16:08:48.027", "Quantity": 10 } ]