v1
latestOpenAPI 3.1.02026-07-2617501.1 MBFetch a vehicle's location using its ID.
get/v1/vehicle_locations/{id}
Path parameters
idinteger required
Specify the unique identifier of the vehicle.
Query parameters
datestring date required
Specify the date for which you want to check the information of the vehicle. NOTE: The format of the date is YYYY-MM-DD
Headers
X-Time-Zonestring
Specify the timezone for formatting the timestamps.
X-Metric-Unitsboolean
Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units
X-User-Idinteger
Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.
Response
200
Example response
{
"vehicles": [
{
"vehicle": {
"id": 3262,
"number": "00030004",
"year": "2017",
"make": "Chevrolet",
"model": "KT-E"
}
}
],
"pagination": {
"per_page": 25,
"page_no": 1,
"total": 2
}
}