1

Logistics API??

Topic: Logistics API??

Hi, hello it is not possible to have an API for the Logistic application ??
Reagrds

Gabriel

2

Logistics API??

(edited by zark 09/08/2019 09:34:50)

Re: Logistics API??

Hello,

Here it is: sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/order/order

You can find all SDK documentations at the bottom of the following page: docs.wialon.com

@ Oleg Zharkovsky
Technical Support / Training Team
"Timely is the best. But still better late than never."
3

Logistics API??

Re: Logistics API??

Hello ,

Does Logistics API support to pick Geo-fence name as address (without having to send y,x geo coordinates ?)

Ysv
4

Logistics API??

(edited by sets 12/09/2019 12:40:13)

Re: Logistics API??

Hello, ysv.

If you say about "Logistics Services api" http://apps.wialon.com/files/logistics/ … es_en.pdf, than you can import order by geofence name(property p.a). But don't send parametrs x and y,  because coordinates have hight priority than address name

Fill please <GEOFENCE_NAME>, <TOKEN>, <RES_ID>
Example:

curl -X POST -d 'data=[{"n":"Order address from geofence","p":{"n":"Customer","a":"<GEOFENCE_NAME>","ut":720,"t":"Легковой","r":null,"ntf":0,"pr":0,"tags":["geo_test", "Tag2"]},"tf":1568235600,"tt":1568239999}]&resourceId=<RES_ID>&token=<TOKEN>' 'https://logistics.wialon.com/api/import'

About logistics:
Logistics application have possibility create order by geofences, this implemented by sdk API. How it work into app:
- get list geofences
- find geofence by name (address field)
- get properties (x, y) geofence (step above)
- fill property x, y in order, and p.a(geofence name), these properties x and y need for position on the map and optimization route

Команда LABS
5

Logistics API??

Re: Logistics API??

Hello Sets ,

Thank you

We use order "Update" as described here

https://sdk.wialon.com/wiki/en/sidebar/ … der/update

Will it be possible same method as you described above ? We tried with Geofence name as address and without sending y/x , it returned with an error.

Ysv
6

Logistics API??

(edited by sets 12/09/2019 12:58:30)

Re: Logistics API??

ysv wrote:

Hello Sets ,

Thank you

We use order "Update" as described here

https://sdk.wialon.com/wiki/en/sidebar/ … der/update

Will it be possible same method as you described above ? We tried with Geofence name as address and without sending y/x , it returned with an error.

This method don't work, because it is just save order data in database. I suggest use steps when i wrote above "About logistics:"

You got error because properties x and y and etc are required.

Команда LABS
7

Logistics API??

Re: Logistics API??

Thanks for advice .
Will try the method that you have advised to try.

Ysv