Contact us Login LIVE DEMO FREE TRIAL

assign(..)

Assign a status to the tracker.

parameters:

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

return:

{
  "success": true,
  "last_change": { //object describing last change of the status. May be null
    "id": 11,
    "old_status_id": null, //previous status id. May be null.
    "new_status_id": 2, //Current status id. May be null.
    "location": { //Location and address at which status change occurred
      "lat": 11.0,
      "lng": 22.0,
      "address": "Jones st, 4"
    },
    "changed": "2015-11-22 02:02:02", //change date and time
    "origin": "supervisor" //origin - who changed the status ("employee" or "supervisor")
  }
}

errors:

  • 201 – Not found in database (if there is no tracker with such id belonging to authorized user)
  • 204 – Entity not found (if there is no listing assigned to this tracker containing with such id)
  • 208 – Device blocked (if tracker exists but was blocked due to tariff restrictions or some other reason)
  • 219 – Not allowed for clones of the device (if specified tracker is a clone)
  • 263 – No change needed, old and new values are the same (if new status is equal to current status of tracker)
  • 13 – Operation not permitted (if status listing does not allow for supervisor to change status)
  • 236 – Feature unavailable due to tariff restrictions (if there is no trackers with “statuses” tariff feature available)

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