Change vehicle
Example:
https://<address>/backend/api.php?cmd=vehedit
Method: POST
Options:
cmd : vehedit
agentid: agent id of the machine or imei: unique device ID
optional
type: type TC , take ID from vehtypelist command, it is acceptable to specify a new type
veh_number: display name (license plate) of the vehicle
veh_type: custom vehicle type (string)
folder_id: the folder in which the created object is placed, if there is no such folder, it is created. By default, the object is placed in the root folder
model: vehicle model
initial_motor_hours: initial motor hours
driver_id: driver id
initial_mileage: Initial mileage, default 0
year: Year of manufacture of the machine, default 1900
vin: VIN of the car
engine_horse: engine horsepower
organization
column: column
subdivision
Request:
https://<address>/backend/api.php?cmd=vehedit&agentid=144
Answer :
{
"Success": "The vehicle data has been changed"
}