Logistics Integration

Topic: Logistics Integration


I am having some requirements related to Logistics integration that need to be fulfilled using API integration. Following are my requirements:
   1.  In mobile, Mark status "Arrived" on logistics app -> Through API, retrieve the time-in timestamp for this order.
   2.  In mobile, Mark status "Completed" on mobile app ->Through API, retrieve time out timestamp for order
   3.  In mobile, Driver can take photos and attach to orders ->Through API, retrieve images attached to order
   4.  In mobile, Consignee signs the app & enters name on drivers phone -->Through API, retrieve signature image + signatory name for order
I found few endpoints related to order here : https://sdk.wialon.com/wiki/en/sidebar/ … rder/order

I hope I can fulfil task 3 above using following calls (Please correct me if I am wrong):
Attach file to order(https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/order/attach)   
List attached files (https://sdk.wialon.com/wiki/en/sidebar/ … ttachments)
or Get attachments (https://sdk.wialon.com/wiki/en/sidebar/ … attachment).

But for points 1, 2 and 4, I need a "Get" call to get details of order so that I can fetch required data.
I found "Create/Update" order endpoint (https://sdk.wialon.com/wiki/en/sidebar/ … der/update)
In the response body of this request, i found some parameters :   stt (time arrival) for time in, dtt (exit time) for time out, crt(confirm/reject time), cmm (comment from confirm/reject) to retrieve signatory name.

There is one field "tz" (user time stamp) - could you explain what this field actually refers to?

And the main issue is that, even though these parameters are found, they are present only in the response body of a "Create" call, not in an "Update" call and there is no "Get" call as well. So when we using this call with "create" mode, it will only creates the order, right? How are all the other parameters highlighted above related to order delivery/completion will have a value when creating an order? I am not getting the flow here. Could you please help me with how I can achieve above mentioned 4 tasks?
Thanks and Regards,


Logistics Integration

Re: Logistics Integration

Can somebody please help me with the above query?