Assign driver to vehicle

This API links a driver to a specific vehicle using its unique identifier (IMEI) and the driver’s key.

How to get data

Method

 GET

Request address

To get the data, use the address: https://<server_address>/api/api.php?

Request parameters

  • cmd=linkdriver — API command for driver linking
  • imei — unique vehicle identifier in the system
  • driver — driver’s full name
  • driverkey — driver’s key number
  • node — node number where the command should be executed
 

Example request

https://<server_address>/api/api.php?cmd=linkdriver&imei=548545218454&driver=ADAS+driver&driverkey=89185717259&node=1
Response
{
    "code": 0,
    "data": [],
    "message": "success"
}
In response to the API request, the following is returned:
  • code — result code (0 = success, other values = error)
  • data — additional data (empty array in this case)
  • message — server response message (e.g., "success")