We make a request to the Justin API (login / password have been removed from the request, you can substitute it with the integration:
url =
https://api.justin.ua/api_pms/hs/v2/runRequestjson body = {"keyAccount":"","sign":"","request":"getData","type":"request","name":"getOrderStatusesHistoryF","filter":[{"name ":"senderId","comparison":"equal","leftValue":"1641541b-4c2b-11ea-abcc-0050569be500"},{"name":"orderNumber","comparison":"equal","leftValue ":"418287684"}]}
In response, we receive data:
{
response: {
status: true
"codeError": "777",
"message": "OK"
},
"data": [
{
"fields": {
"statusDate": "2021-06-13T10:45:54",
order: {
"uuid": "b9d4a01a-65f0-4870-94b0-d77430d1d5ca",
"descr": "Client application 418287684 dated 6/13/2021",
"type": "doc_CustomerOrder"
},
"senderId": {
"uuid": "1641541b-4c2b-11ea-abcc-0050569be500",
"descr": "Olkhovsky Anton Andriyovich",
"type": "cat_Counterparts"
},
statusOrder: {
"uuid": "e7f3ff21-d8fb-11e7-80c6-00155dfbfb00",
"descr": "Planned",
"type": "cat_OrderStatuses"
},
"statusCode": "000000001",
"orderNumber": "418287684",
"clientNumber": "155374928",
"DeliveryDate": "2021-07-01T15:00:00",
"TTN": "75153637591671549",
"deliveryDepartment": "",
"addressDepartment": ""
}
},
{
"fields": {
"statusDate": "2021-07-01T00:00:01",
order: {
"uuid": "b9d4a01a-65f0-4870-94b0-d77430d1d5ca",
"descr": "Client application 418287684 dated 6/13/2021",
"type": "doc_CustomerOrder"
},
"senderId": {
"uuid": "1641541b-4c2b-11ea-abcc-0050569be500",
"descr": "Olkhovsky Anton Andriyovich",
"type": "cat_Counterparts"
},
statusOrder: {
"uuid": "e7f3ff22-d8fb-11e7-80c6-00155dfbfb00",
"descr": "Canceled expiration date expired",
"type": "cat_OrderStatuses"
},
"statusCode": "000000002",
"orderNumber": "418287684",
"clientNumber": "155374928",
"DeliveryDate": "2021-07-01T15:00:00",
"TTN": "75153637591671549",
"deliveryDepartment": "",
"addressDepartment": ""
}
}
],
"totalCountRecords": 2
}
Actually, the last status in the issue is just "Cancelled, expiration date expired"
Judging by all the identifiers - everything converges
I recommend that you contact Justin tech support to clarify why it gave out such data.