OPEN API
  1. Maintenance
OPEN API
  • Organization Info
    • Get information about your organization
      GET
  • Drivers
    • List all drivers
      GET
    • Retrieve a driver
      GET
  • Hours Of Service
    • Get HOS clocks
      GET
    • Get all driver HOS daily logs
      GET
    • Get HOS logs
      GET
  • Vehicles
    • List all vehicles
      GET
    • Retrieve a vehicle
      GET
  • Vehicle Locations
    • Historical Vehicle Locations
      GET
    • Latest Vehicle Locations
      GET
  • Trips
    • Get Vehicle Trips
      GET
  • Vehicle Stats
    • Vehicle Stats snapshot
      GET
  • Maintenance
    • Get all DVIRs
      GET
  • IFTA
    • Get IFTA jurisdiction reports
      GET
  • Webhook
    • Sample Webhook request for specific trigger
      GET
    • Subscribe to specific immediately events
      POST
    • Available list of Triggers
      GET
    • Unsubscribe form events
      POST
  1. Maintenance

Get all DVIRs

GET
/openapi/dvirs/
Maintenance
Returns a list of all DVIRs in an organization.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
page
integer 
optional
A page number within the paginated result set.
page_size
integer 
optional
Number of results to return per page.
startTime
string <date-time>
optional
2024-05-22T01:40:16.274753Z
endTime
string <date-time>
optional
2024-05-22T01:40:16.274753Z

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:8001/openapi/dvirs/'

Responses

🟢200OK
application/json
Body
count
integer 
optional
Example:
10
page_size
integer 
optional
Example:
123
previous
integer  | null 
optional
Example:
null
current
integer 
optional
Example:
1
next
integer  | null 
optional
Example:
2
results
array[object (DVIRList) {13}] 
optional
id
string <uuid>
read-onlyrequired
vehicle
object (DVIRVehicle) 
required
startTime
string <date-time>
optional
Start time of the inspection
endTime
string <date-time>
optional
End time of the inspection
licensePlate
string 
optional
License plate of the vehicle
Default:
location
string 
optional
Location of the vehicle
Default:
mechanicNotes
string 
optional
Mechanic notes
Default:
odometerMeters
integer 
optional
Odometer in meters
Default:
0
safetyStatus
string 
read-onlyrequired
Safety status of the vehicle (safe, unsafe, resolved)
trailer
string 
optional
<= 20 characters
trailerDefects
array[object (DVIRTrailerDefects) {1}] 
required
type
string 
required
Type of inspection (Pre-Trip or Post-Trip)
vehicleDefects
array[object (DVIRVehicleDefects) {1}] 
required
Example
{
  "count": 10,
  "page_size": 123,
  "previous": null,
  "current": 1,
  "next": 2,
  "results": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "vehicle": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string"
      },
      "startTime": "2019-08-24T14:15:22Z",
      "endTime": "2019-08-24T14:15:22Z",
      "licensePlate": "",
      "location": "",
      "mechanicNotes": "",
      "odometerMeters": 0,
      "safetyStatus": "string",
      "trailer": "string",
      "trailerDefects": [
        {
          "name": "string"
        }
      ],
      "type": "string",
      "vehicleDefects": [
        {
          "name": "string"
        }
      ]
    }
  ]
}
Modified at 2025-04-23 00:31:51
Previous
Vehicle Stats snapshot
Next
Get IFTA jurisdiction reports
Built with