Status model
A freight transport order goes through several stages. A freight transport status is returned when backward integration is requested.
Order creation and execution stages:
1: Added: Order successfully created.
2: To the hub: Order placed in the system and waiting for a carrier to be found.
3: Accepted by the carrier: Order accepted by the contractor.
4: Transport in progress: Contractor is traveling from point A to point B to deliver the freight to the recipient.
5: Getting documents: Waiting for the recipient to check the contract for the completed trip and sign the documents.
6: Completed: Order delivered to the recipient.
Cancellation: Placed order canceled by the sender.
Response example
{
"entity": {
"id": "b6b15cab-7086-45c9-92fa-e0042c5b2d80312",
"managerId": "bc5f5de9-f1b5-44e6-bc78-1739df1b875f",
"dimensions": {
"length": 0,
"width": 0,
"height": 0,
"weight": 0.5,
"volume": 0.5
},
"statuses": [
{
"date": "07.11.2022 12:53:38",
"status": "Forwarding"
},
{
"date": "07.11.2022 13:14:50",
"status": "GETTING DOCUMENTS"
}
],
"flights": [
{
"id": "db158856-bffb-4038-a22f-d1ba1b7126be",
"statuses": [
{
"date": "07.11.2022 12:55:34",
"status": "GETTING INFORMATION ABOUT THE VEHICLE AND DRIVER"
},
{
"date": "07.11.2022 12:55:35",
"status": "DRIVER ASSIGNED"
},
{
"date": "07.11.2022 13:14:16",
"status": "LOADING"
},
{
"date": "07.11.2022 13:14:18",
"status": "VEHICLE EN ROUTE"
},
{
"date": "07.11.2022 13:14:43",
"status": "UNLOADING"
},
{
"date": "07.11.2022 13:14:46",
"status": "TRANSPORT COMPLETED"
},
{
"date": "07.11.2022 13:14:50",
"status": "Completed"
}
],
"drivers": [
"Arkady Aleksandrovich Goldin"
],
"transport": [
{
"mark": "Volvo",
"model": "FН12",
"regNumber": "U999UU 99"
},
{
"mark": "Volvo",
"model": "-",
"regNumber": "UU9999 99"
}
]
}
],
"loading": {
"inn": "2222222222",
"fullAddress": "Russia, Moscow, Mira Avenue, 102build12",
"date": "2022-11-08 00:00",
"range": 1
},
"unLoading": {
"inn": "1111111111",
"fullAddress": "Russia, Moscow, Mira Avenue, 102build1А",
"date": "2022-11-08 02:00",
"range": 1
},
"comment": "Test order",
"acceptanceConditionsSpecial": [],
"contracts": []
},
"isSuccess": true,
"message": null
}
Was the article helpful?
Previous