Contact us Login LIVE DEMO FREE TRIAL

get_states(…)

Get current trackers state (gps, gsm, outputs, etc.).

parameters:

name description type
trackers array of tracker ids. All trackers must not be deleted or blocked (if list_blocked=false). Int[]
list_blocked boolean, default is false. If true call returns list of blocked tracker IDs instead of error 208 boolean

return:

{"success": true, 
  "user_time": <current time in user's timezone, e.g. "2014-07-09 07:50:58"?>,
  "states": { //a map containing requested states
    <tracker_id, e.g. "1234"> : <state object from get_state(..) response>, 
    ...
}, 
"blocked": [array of IDs] //returned only if list_blocked=true
}

errors:

  • 204 – Entity not found (if there is no tracker with such id belonging to authorized user)
  • 208 – Device blocked (if list_blocked = false and tracker exists but was blocked due to tariff restrictions or some other reason)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 317 1622

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more