Get Specific Vehicle Detail API
Require Authentication
This API is used to get specific vehicle detailed information for the company based on combination of deviceID and token.
URL
api/manageassets/vehicledetail/:vehicleID
Required parameter (in URL)
- :vehicleID «contains vehicleID that want to be looked for. It must be put in the URL, e.g: api/manageassets/vehicledetail/3»
Required parameter (POST)
- deviceID
- token
Optional parameter
Example JSON Payload
{
"deviceID": "ABCD-EFGH-IJKL-MNOP",
"token": "bb602ab13b8090268cd6e3bb9dfa39e2"
}
Possible return HTTP status code
- 200
- 401
- 404
- 405
Return message
{
"status": "success",
"message": {
"vehicleID": 3,
"companyID": 1,
"vehicleName": "My Future Car",
"vehicleType": "BMW",
"vehicleNo": "N14DR",
"vehicleDescription": "Future car",
"vehicleColor": "Black",
"vehicleYear": 2028,
"createdDate": 1467819009,
"updatedDate": 1467819009,
"createdByUserID": 3,
"updatedByUserID": 3
}
}