Skip to main content

Retrieve Fault

GET 

https://secure.fleetio.com/api/v1/faults/:id

Retrieve the details of a Fault Record

Request

Path Parameters

    id stringrequired

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Responses

OK

Schema
    idId (integer)required

    Possible values: >= 1

    created_atdate-time

    The date and time at which this record was created.

    Example: 2023-03-14T13:46:27-06:00
    updated_atdate-time

    The date and time at which this record was most recently updated.

    Example: 2023-03-14T13:46:27-06:00
    account_idId (integer)required

    Possible values: >= 1

    vehicle_idNullableId (integer)nullablerequired

    Possible values: >= 1

    codestringrequired

    The diagnostic trouble code.

    countintegernullablerequired

    The number of times this Fault has occurred.

    descriptionstringnullablerequired

    A short description about the problem.

    external_idstringnullable

    An external identifier for the Fault, if applicable.

    last_occurred_atdate-timenullablerequired

    The date and time when the Fault last occurred.

    Example: 2023-03-14T13:46:27-06:00
    namestringnullablerequired

    The name or label for the Fault.

    statusstringrequired

    The status of the Fault.

    Possible values: [open, resolved, ignored]

    Default value: open
    sourcestringnullable

    The source or origin of the Fault.

    vehicle_archived_atdate-timenullablerequired

    The date and time when the associated Vehicle was archived, if applicable.

    Example: 2023-03-14T13:46:27-06:00
    fault_rule_idNullableId (integer)nullable

    Possible values: >= 1

    is_sampleboolean

    Indicates if the Fault is sample data.

    idempotency_keystringnullable

    An optional key for idempotent operations.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
curl -L 'https://secure.fleetio.com/api/v1/faults/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!