Tracking Statuses
This page is about the various tracking_status of the JSON response, which represents different milestones of the delivery/collection process.
Flow of tracking_status
Value | Description |
in_transit | New job created in Detrack; but goods yet to reach courier for performing delivery. |
info_recv | New job created in Detrack. Goods reached courier for performing delivery; but without any assigned vehicle. |
dispatched | Job being assigned to a vehicle. |
completed | Job completed by driver. |
completed_partial | Job completed by driver, but with at least 1 item rejected in |
failed | Job failed. |
on_hold | When admin changes the status to on-hold manually through the dashboard. |
return | When admin changes the status to return manually though the dashboard. |
SAMPLE JSON RESPONSE
{
"info":{
"status":"ok"
},
"results":[
{
"date":"2014-02-13",
"do":"DO140213001",
"status":"ok",
"delivery":{
"date":"2014-02-13",
"address":"63 Ubi Avenue 1 Singapore 408937",
"delivery_time":"09:00 AM - 12:00 PM",
"deliver_to":"John Tan",
"phone":"+6591234567",
"notify_email":"john.tan@example.com",
"notify_url":"http://www.example.com/notify.php",
"assign_to":"GT1234H",
"instructions":"Call customer upon arrival.",
"zone":"East",
"reason":"",
"note":"",
"received_by":"",
"tracking_status":"dispatched",
"image":0,
"view_image_url":"",
"do":"DO140213001",
"status":"In Progress",
"time":"",
"pod_lat":"",
"pod_lng":"",
"pod_address":"",
"items":[
{
"sku":"T0201",
"desc":"Test Item #01",
"qty":1,
"reject":0,
"reason":""
},
{
"sku":"T0202",
"desc":"Test Item #02",
"qty":5,
"reject":0,
"reason":""
},
{
"sku":"T0203",
"desc":"Test Item #03",
"qty":10,
"reject":0,
"reason":""
}
]
}
}
]
}