- Organization Info
- Drivers
- Hours Of Service
- Vehicles
- Vehicle Locations
- Trips
- Vehicle Stats
- Maintenance
- IFTA
- Webhook
Get all DVIRs
GET
http://127.0.0.1:8001/openapi/dvirs/
Maintenance
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
page
integer
optional
page_size
integer
optional
startTime
string <date-time>
optional
endTime
string <date-time>
optional
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
endTime
string <date-time>
optional
licensePlate
string
optional
Default:
location
string
optional
Default:
mechanicNotes
string
optional
Default:
odometerMeters
integer
optional
Default:
0
safetyStatus
string
read-onlyrequired
trailer
string
optional
<= 20 characters
trailerDefects
array[object (DVIRTrailerDefects) {1}]
required
type
string
required
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"
}
]
}
]
}