Update a Vehicle
put
Update a Vehicle
Resource URL
https://api-sandbox.arity.com/registration/v2/vehicle/{vehicleId}
Header Parameters
Name | Values | Description |
---|---|---|
Authorization
(required) |
Access Token |
Request Body
make: the make of the vehicle
model: the model of the vehicle
status: the status of the vehicle, either active or suspended
vehicleEffectiveEndDate: the date from which the vehcile will be inactive. format is yyyy-mm-dd
year: the year of manufacture
{
{
"category": "",
"make": "",
"model": "",
"status": "",
"vehicleEffectiveEndDate": "",
"year": 0
}
vehicleId id of the vehicle null true
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
400400
Bad Request response
-
401401
Unauthorized response
-
500500
Server Error response
Resource Summary |
|
Security |
None |
Content Type |
application/json |
Category |
Vehicles |
Name | Type | Description |
---|---|---|
category | string | the category of the vehicle |
make | string | vehicle manufacturer |
model | string | the model of the vehicle |
status | string | status of the vehicle, either active or suspended |
vehicleEffectiveEndDate | string | the date from which the vehcile will be inactive. format is yyyy-mm-dd |
year | integer | the year of manufacture |
Name | Type | Description |
---|---|---|
vehicleId | string | the id of the vehicle |
device | string | the device to which the vehicle will be associated |
products | array | products the user is registered to |
category | string | the category of the vehicle |
make | string | vehicle manufacturer |
model | string | the model of the vehicle |
status | string | status of the vehicle, either active or suspended |
vehicleEffectiveEndDate | string | the date from which the vehcile will be inactive. format is yyyy-mm-dd |
vin | string | the vin of the vehicle |
year | string | the year of manufacture of the vehicle |
Working...