Vehicles
List Vehicle Fuel Entries
List a Vehicle's Fuel Entries
get/vehicles/{vehicle_id}/fuel_entries
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
vehicle_idinteger required
Query parameters
start_cursorstring
The start cursor for Keyset pagination.
per_pageinteger
The number of records per page to return.
The fields, operations, and values to filter the records by.
The fields and direction to sort the results by.
Response
OK
Example response
{
"records": [
{
"date": "2023-03-14T13:46:27-06:00",
"cost_per_hr": "1.1",
"cost_per_km": "1.1",
"cost_per_mi": "1.1",
"kpl": "1.1",
"uk_gallons_per_hr": "1.1",
"us_gallons_per_hr": "1.1",
"liters_per_hr": "1.1",
"lp100k": "1.1",
"mpg_uk": "1.1",
"mpg_us": "1.1",
"meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.