Skip to main content
WEBHOOK
dvir_log.added
{
  "version": "<string>",
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "fleet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "fleet_ref": "<string>",
      "source_name": "ada",
      "connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "source_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "occurred_at": "2023-11-07T05:31:56Z",
      "tsp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tsp_slug": "<string>",
      "deleted_at": "2023-11-07T05:31:56Z",
      "execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "extras": {},
      "vehicle_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "driver_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "trailer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "source_driver_id": "<string>",
      "source_vehicle_id": "<string>",
      "source_trailer_id": "<string>",
      "log_type": "pre_trip",
      "authority_name": "<string>",
      "authority_address": "<string>",
      "duration_seconds": 123,
      "odometer_km": 123,
      "odometer": 123,
      "engine_hours": 123,
      "location": {
        "type": "<string>",
        "coordinates": {
          "[0]": 123,
          "[1]": 123
        },
        "bbox": {
          "[0]": 123,
          "[1]": 123,
          "[2]": 123,
          "[3]": 123
        }
      },
      "h3_index_11": "<unknown>",
      "inspected_by": "<string>",
      "certify_comment": "<string>",
      "driver_comment": "<string>",
      "defect_count": 123,
      "version": "<string>",
      "defects": [
        "fluid_levels"
      ],
      "is_safety_critical": true
    }
  ],
  "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "event_name": "dvir_log.added",
  "timestamp": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "delivery_attempt": 0
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.catenatelematics.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

DVIR log added event.

version
string
required

Version of the schema used for this event

Pattern: ^\d+\.\d+$
Examples:

"1.0"

"1.1"

"2.0"

data
BaseDvirLog · object[]
required

The event payload, with one or more records of the specified type

webhook_id
string<uuid>
required

Unique identifier for the webhook subscription that triggered this delivery

event_name
string
default:dvir_log.added
timestamp
string<date-time> | null

ISO 8601 timestamp when the event occurred

id
string<uuid> | null

Unique identifier for this specific event instance (UUID v7 for time-ordered sorting)

delivery_attempt
integer
default:0

The number of times the event has been attempted to be delivered

Response

Successful Response