Retrieve Vehicle
Changed onRetrieve the details of an existing Vehicle.
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Fleetio ID of the relevant Vehicle.
You may also look up Vehicles by their VIN, license plate, or other external ID. See the guide on External Vehicle Ids for information on how to set this up.
Response
OK
Example response
{
"archived_at": "2023-03-14T13:46:27-06:00",
"primary_meter_date": "2023-03-14T13:46:27-06:00",
"secondary_meter_date": "2023-03-14T13:46:27-06:00",
"in_service_date": "2023-03-14T13:46:27-06:00",
"out_of_service_date": "2023-03-14T13:46:27-06:00",
"loan_ended_at": "2023-03-14T13:46:27-06:00",
"loan_started_at": "2023-03-14T13:46:27-06:00"
}Changes
- breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
/response's property type changed fromstringtonumberfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status
- breaking
- warning
added the new
financedenum value to the/response property for the response status - warning
added the new
rent_to_ownenum value to the/response property for the response status - info
added the optional property
/to the response with the status
- warning