Block / Unblock vehicles by agentid / imei / account ID
Example:
https://<address>/backend/api.php?cmd=setvehblock
Options:
cmd : setvehblock
status: STATUS - 0 blocked, 1 - active
one of the options:
agentid : AGENT_ID
imei: IMEI
accountid: ACCOUNT_ID
Request:
An array of machines with statuses.
https://<address>/backend/api.php?cmd=setvehblock&status=1&imei1231231231
Answer:
code: 0
"data": [
{
"agentid": 2914,
status: 1
}
],
"msg": "OK"
}