Contact us Login LIVE DEMO FREE TRIAL

assign(…)

(Re)assign route to new tracker (or make it unassigned).

required subuser rights: task_update

parameters:

name description type
route_id Id of the route to assign int
tracker_id Id of the tracker. Tracker must belong to authorized user and not be blocked. If null, task will be assigned to none. int

return:

{
    "success": true
}

errors:

  • 201 – Not found in database (if there is no task with such id)
  • 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)
  • 255 – Invalid task state (if current task state is not “unassigned” or “assigned”)
  • 236 – Feature unavailable due to tariff restrictions (if device’s tariff does not allow usage of tasks)

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...