{
"version": "<string>",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fleet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fleet_ref": "<string>",
"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>",
"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>",
"certified_by": "<string>",
"certify_date": "2023-11-07T05:31:56Z",
"driver_comment": "<string>",
"defect_count": 123,
"version": "<string>",
"defects": [],
"defects_detail": [
{
"defect_repair_details": {
"repair_user_id": "<string>",
"repair_date_time": "2023-11-07T05:31:56Z"
},
"comment": {
"comment": "<string>",
"comment_date_time": "2023-11-07T05:31:56Z",
"user_id": "<string>"
},
"source_part_id": "<string>",
"source_defect_id": "<string>"
}
],
"is_safety_critical": true
}
],
"webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_name": "dvir_log.modified",
"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": {}
}
]
}Webhook Events
Dvir log modified
Emitted when a DVIR log is modified in our database.
WEBHOOK
dvir_log.modified
{
"version": "<string>",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fleet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fleet_ref": "<string>",
"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>",
"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>",
"certified_by": "<string>",
"certify_date": "2023-11-07T05:31:56Z",
"driver_comment": "<string>",
"defect_count": 123,
"version": "<string>",
"defects": [],
"defects_detail": [
{
"defect_repair_details": {
"repair_user_id": "<string>",
"repair_date_time": "2023-11-07T05:31:56Z"
},
"comment": {
"comment": "<string>",
"comment_date_time": "2023-11-07T05:31:56Z",
"user_id": "<string>"
},
"source_part_id": "<string>",
"source_defect_id": "<string>"
}
],
"is_safety_critical": true
}
],
"webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_name": "dvir_log.modified",
"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": {}
}
]
}Body
application/json
DVIR log modified event.
Version of the schema used for this event
Pattern:
^\d+\.\d+$Examples:
"1.0"
"1.1"
"2.0"
The event payload, with one or more records of the specified type
Show child attributes
Show child attributes
Unique identifier for the webhook subscription that triggered this delivery
ISO 8601 timestamp when the event occurred
Unique identifier for this specific event instance (UUID v7 for time-ordered sorting)
The number of times the event has been attempted to be delivered
Response
Successful Response
Was this page helpful?
⌘I