Vehicles

List Issues associated with a Vehicle

Returns a list of Issues associated with a Vehicle.

get/vehicles/{id}/issues

Request

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.

due_date'asc' | 'desc'
resolved_at'asc' | 'desc'
reported_at'asc' | 'desc'
updated_at'asc' | 'desc'
created_at'asc' | 'desc'
id'asc' | 'desc'

The fields and direction to sort the results by.

Response

OK

start_cursorstring nullable

The current start cursor of the records returned.

next_cursorstring nullable

The next cursor to retrieve the next page of records.

per_pageinteger

The maximum number of records returned.

estimated_remaining_countinteger

The number of remaining records including the returned records, up to a maximum of 500.

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.