Getting a track

Topic: Getting a track

Hi Team,

I am looking for a way to retrieve the location of a vehicle at a specific point in time (past). The end goal is to retrieve a track and I believe we just cant get a track from the API - instead we get messages. Also, I hope we need to load messages into a message loader and unload the messages. These are the endpoints I am referencing:
Wialon Hosting: https://sdk.wialon.com/wiki/en/sidebar/ … t_messages
Wialon Hosting: https://sdk.wialon.com/wiki/en/sidebar/ … s/messages
I found some other methods /endpoints, but they are not available under Wialon Hosting. 
Wialon Kit: https://sdk.wialon.com/wiki/en/kit/remo … ages_layer
Wialon Kit: https://sdk.wialon.com/wiki/en/kit/remo … d_messages
Also couldn't find similar ones under Wialon Hosting.
If the endpoints attached under the Wialon Hosting is the only way, we will explore that. But before we start, I am wondering if there is something more straightforward.
Please help with this requirement.



Getting a track

Re: Getting a track

jisnajoby03 hello,
Mentioned requests available for Wialon Hosting as well: [Create track layer][https://sdk.wialon.com/wiki/en/sidebar/ … ages_layer] and [Get track from messages][https://sdk.wialon.com/wiki/en/sidebar/ … d_messages] .

In general, if you need to get information about the unit location in the specific time interval, the messages are work for this task.
You can check all additional requests work with messages in Wialon here -- https://sdk.wialon.com/wiki/en/sidebar/ … s/messages
And here you may found the example -- https://sdk.wialon.com/wiki/en/sidebar/ … s/messages

Anton Zinovyev
Technical Care Engineer (L2)