get_fuel(…)

Get current fuel level (in liters) of tracker’s fuel tanks.

parameters:

name description type
tracker_id Id of the tracker (aka “object_id”). Tracker must belong to authorized user and not be blocked. Int

return:

{
    "success": true,
    "user_time": <current time in user's timezone, e.g. "2014-07-09 07:50:58"?>,
    "tanks": <list of doubles representing fuel levels in tank 1, tank 2, etc. null means no data available. ex.: [5.66, null, 75.0]> //list of float or null,
    "update_time": <when the data was updated, e.g. "2014-03-06 13:57:00">  //date/time
}

errors:

  • 204 – Entity not found (if there is no tracker with such id belonging to authorized user)
  • 208 – Device blocked (if 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 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...