🧪 Create DVIR Log
Create a new DVIR log asynchronously.
This endpoint is available for early access. The core schema is stable, but minor details — such as field names or added fields — may change before it becomes generally available. Backward compatibility is not guaranteed.
See API Stability & Versioning for details on provisional endpoints.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
Whether to process the request synchronously. If true, Catena will attempt to create or update the resource immediately with the TSP and return the result in the response. When performing synchronous operations, you are responsible for handling any necessary retries in case of transient failures.If false (default), Catena will create an asynchronous operation, and you can check the status of the operation using the returned operation ID.
Body
DvirLog model for creating new records.
Unique identifier of the connection at Catena Telematics which will be used to create this resource. A connection represents a Fleet/TSP pairing.
Identifier for the driver
Identifier for the vehicle
Identifier for the trailer
Datetime of when the inspection occurred (must be UTC)
Type of DVIR log. Defaults to unknown when omitted.
pre_trip, post_trip, mechanic, unknown Name of the inspector conducting the DVIR
Total number of defects reported in this DVIR log. Defaults to 0 when omitted and no defects provided.
List of defects reported in this DVIR log
Enum for DVIR (Driver Vehicle Inspection Report) defects
fluid_levels, battery, belts_hoses, radiator, frame_assembly, front_axle, starter, transmission, oil_pressure, defroster_heater, lights_front, windshield_clean, windshield_wiper_fluid, windshield_wipers, brakes, brake_check, clutch, mirrors, horn, safety_equipment, trip_recorder, air_conditioner, doors, stop_arm_control, steering_wheel, emergency_door_buzzer, entrance_steps, interior_floor, windows, exhaust, fifth_wheel, landing_gear, suspension, alignment, rims, tires, tire_chains, stop_arm, muffler, roof, wheels, wheels_rims, suspension_under, scratches, air_compressor, air_lines, brake_connections, coupling_devices, reflectors, lights_rear, rear_end, tire_chains_rear, brake_accessories, drive_line, engine, fuel_tanks, lights_general, other, unset, first_aid_kit Detailed defect entries with part and defect information
Indicates whether the DVIR log is safety-critical
Additional free-text comments provided by the driver
Driver's certification comment acknowledging the inspection
Vehicle odometer reading at the time of the DVIR
Unit for odometer
m, km, mi, ft, nmi Datetime when the DVIR was certified (must be UTC)
Identifier for the individual who certified the DVIR
Log level defects summary status
no_defect, defect_noted, defect_corrected Response
The DVIR log was created successfully.
Resource operation model
The ID of the partner that created the operation.
The ID of the connection
The type of resource to operate on (e.g., vehicle, driver).
asset, driver_association, driver_vehicle_association, driver_event_log, driver_safety_event, dvir_log, dvir_log_defect, engine_log, engine_status, fuel_transaction, fleet_info, hos_availability, hos_daily_snapshot, hos_event, hos_event_annotation, hos_event_attachment, hos_violation, ifta_summary, location_segment, message, group_message, user, vehicle, vehicle_location, vehicle_sensor, vehicle_region_segment, trailer, trailer_association, trailer_vehicle_association, trailer_location, trailer_status, workflow The type of operation to perform (e.g., create, update).
create, update The payload of the operation, containing the resource attributes to be created or updated.
Unique identifier for the resource operation.
Immutable: The datetime the record was created in Catena Telematics.
The datetime the record was last modified in Catena Telematics.
The datetime the record was logically deleted from Catena Telematics.
Unique identifier of the record. Can be null for create operations where the source does not exist yet.
The unique identifier of the resource in the source system. Required for update operations.
The status of the operation
pending, success, failed Log entries for each attempt to execute this operation.