Unlink contract from vehicle
This API unlinks a contract from a vehicle.
How to get data
Method
DELETE
Request address
To get the data, use the address: https://<server_address>/api/api.php?
Request parameters
-
cmd=unlink_contract — command to unlink the contract
-
PlateNum — vehicle license plate number
-
node — node number where the command should be executed (optional)
Example request
https://<server_address>/api/api.php?cmd=unlink_contract&PlateNum=test12345&node=1
|
Response
{
"code": 0,
"msg": "Deletion is successful"
}
|
In response to the API request, the following is returned:
-
code — result code (0 = success)
-
msg — server message about the result of the action