This endpoint allows users to update specific details for either vehicles or assets. Users can update the name and license for vehicles or the license and contents for assets. The request body varies depending on whether the update is for a vehicle or an asset. Only fields related to the selected type should be included. If value of a field is left empty, it will overwrite the existing data with an empty value.
Request
Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
device-id
string
required
Device ID
Header Params
token
string
required
Body Params application/json
vehicleName
string
optional
Vehicle Name
>= 0 characters<= 70 characters
vehicleLicenseNumber
string
optional
Vehicle License Number. Available for deviceType = vehicle.
>= 0 characters<= 70 characters
assetNumber
string
optional
Asset Number. Available for deviceType= asset , temperature.
>= 0 characters<= 70 characters
assetContents
string
optional
Asset Contents. Available for for deviceType= asset.