1

Computing for ETA's of a unit

(06/11/2018 10:14:53 отредактировано ebernal)

Тема: Computing for ETA's of a unit

Hi,

Is it possible to call this information from your API which gives an update of the current long/lat of the unit together with its ETA to its next stop?

2

Computing for ETA's of a unit

Re: Computing for ETA's of a unit

Hi ebernal

You can use events mechanism to get updates about units new position. After that, you can use request gis_get_route.
This request is not mentioned in our SDK documentation yet. This is an example of how it looks like:

hst-api.wialon.com/gis_get_route?lat1=53.766319999999915&lon1=28.78999999999965&lat2=53.7923200000002&lon2=29.04259999999982&flags=1&uid=user_id&sid=sid

So in the response, you will get information about the distance between the first point (unit position for example) and the second point (units next stop) and estimated time.

Does this information help to solve your issue?

Pavel Chabai
Business Analyst, Gurtam