For all operations listed below you will need to provide HTTP Request Header Authorization param. For more details see Login/Auth page.
Report to get information about shipment
Route: /customer_portal/shipments_with_tasks
Method: GET
Required query parameters:
- customer_id - array of customer IDs. (See customer section, for more details how to get customer IDs associated with your account)
Example result
{
"entities": [
{
"pod_date": "2018-01-02",
"pod_time": "02:50:06",
"pod_branch_id": "1",
"recipient": "Tian Lei 01/03",
"vendor_id": "360",
"discrepancy_id": "0",
"pod_id": "8538",
"cost_center_name": "Beijing- Shenzhen",
"is_active": "0",
...
rest of the shipment details
...
"shipment_workflow": [
{
"shipment_id": "69",
"task_id": "1",
"sequence": "1",
"milestone": "1",
"is_active": "0",
"due_date": "2018-01-03",
"due_time": "17:00:00",
"completed": "1",
...
rest of the task details
...
},
{
...
}
},
"total": 123,
"result": true
}