Table of Contents

Get track from messages

To get track based on messages it can be executed request messages/get_packed_messages :

svc=messages/get_packed_messages&params={"itemId":<long>,
				   "timeFrom":<uint>,
				   "timeTo":<uint>,
				   "filtrationFlags":<uint>,

:!: Сurrent request can't be executed simultaneously with following requests:

Parameters

Name Description
itemId unit or resource ID (depends on type of message you want to get)
timeFrom interval beginning
timeTo interval end
filtrationFlags optional, 0 or 1, by default = 1 - message fillatraion by min satellites from unit's settings .

Response

{ "messages":"ok_kGkwyF????????????????" }  

messages - points (coordinates) encoded by google polyline

If difference between timeTo and timeFrom is more than 86400 sec, error 4 will be returned