1

Get current unit position

Topic: Get current unit position

Hello friends, it is possible to get the current position of a unit with the API.

What method should you use to get the current position?

Thank you all!

Saludos,
Sauro Dev
2

Get current unit position

Re: Get current unit position

Hi Jose!

you can use method search_item with flags = 1025 (1 - base flags + 1024 last message and position )

Diana Cheley
Wialon Hosting Expert
Gurtam
3

Get current unit position

(edited by sathartpp 27/06/2020 14:41:10)

Re: Get current unit position

If you are looking for remote api you could try this.

Note :  replace the sid value

https://hst-api.wialon.com/wialon/ajax.html?svc=core/search_items&sid=“wertyuiuytrewertyuio”&params={"spec":{"itemsType":"avl_unit","propName":"sys_name","propValueMask":"*","sortType":"","propType":""},"force":1,"flags":4611686018427387903,"from":0,"to":0}