Skip to main content

Create Fault

Create a new Fault Record. If you need to create many Faults at once, use the Bulk API to avoid Rate Limiting errors.

Request Body

  • vehicle_id integer required

    Possible values: >= 1

  • code string required

    Possible values: <= 255 characters

    The diagnostic trouble code. Must correspond with an existing Fault Rule.

  • count integer

    The number of times this Fault has occurred.

  • description string

    A short description about the problem.

  • external_id string

    Possible values: <= 255 characters

    An external identifier for the Fault, if applicable.

  • last_occurred_at date-time

    The date and time when the Fault last occurred. We recommend using ISO-8601 formatted dates to avoid ambiguity.

  • name string

    Possible values: <= 255 characters

    The name or label for the Fault.

  • status string

    Possible values: [open, resolved, ignored]

    The status of the Fault.

  • source string

    The source or origin of the Fault.

Responses

OK

Response Headers


    Schema

    • id integer

      Possible values: >= 1

    • created_at date-time

      The date and time at which this record was created.

    • updated_at date-time

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

    • account_id integer

      Possible values: >= 1

    • vehicle_id NullableId

      Possible values: >= 1

    • code string

      The diagnostic trouble code.

    • count integer

      The number of times this Fault has occurred.

    • description string

      A short description about the problem.

    • external_id string

      An external identifier for the Fault, if applicable.

    • last_occurred_at date-time

      The date and time when the Fault last occurred.

    • name string

      The name or label for the Fault.

    • status string

      Possible values: [open, resolved, ignored]

      Default value: open

      The status of the Fault.

    • source string

      The source or origin of the Fault.

    • vehicle_archived_at date-time

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

    • fault_rule_id NullableId

      Possible values: >= 1

    • is_sample boolean

      Indicates if the Fault is sample data.

    • idempotency_key string

      An optional key for idempotent operations.

    Loading...