Vehicles
List Issues associated with a Vehicle
Returns a list of Issues associated with a Vehicle.
get/vehicles/{id}/issues
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
idstring required
The id of the Vehicle for the Issues returned.
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": [
{
"reported_at": "2023-03-14T13:46:27-06:00",
"resolved_at": "2023-03-14T13:46:27-06:00",
"closed_at": "2023-03-14T13:46:27-06:00",
"reopened_at": "2023-03-14T13:46:27-06:00",
"due_date": "2023-03-14",
"fault_rule": {
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
},
"inspection_items": [
{
"id": 88,
"inspection_form_version_id": 50,
"account_id": 18,
"label": "Odometer Reading",
"short_description": "Meter Entry Inspection Item.",
"instructions": "Complete this Inspection Item by entering the odometer reading.",
"required": true,
"position": 1,
"pass_label": "Pass",
"fail_label": "Fail",
"reuse_pass_fail_label": true,
"require_secondary_meter_if_one_exists": true,
"created_at": "2023-09-20T11:00:19.952-05:00",
"updated_at": "2016-07-27T20:38:56.454-05:00",
"version_key": "6552b703-e366-420d-873a-2a4ca0f73acc",
"na_label": "N/A",
"numeric_range_min": 3,
"numeric_range_max": 5
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.