v1
latestOpenAPI 3.1.02026-07-2617501.1 MBList vehicle's inspections reports (v2)
Query parameters
Specify IDs of all the drivers for whom you want to view the daily vehicle reports.
Specify IDs of all the vehicles for which you want to see the inspection reports.
Specify IDs of all the assets for which you want to view the inspection reports.
Mention the start date from when you want to view the inspection reports.
Specify the end time till when you want to view the inspection reports.
Specify the status of the inspection reports. Allowed values are all, with_defects, with_no_defects, with_signature_missing. With Defect Level Resolution - open, acceptable, resolved . Without Defect Level Resolution - satisfactory, harmless, corrected .
Specify the inspection reports that you want to view which were updated after a certain date.
Specify the type of the inspection report. Allowed values are vehicle, assest.
The number of reports to display on each page.
Denotes the current page number.
Headers
Specify the timezone for formatting the timestamps.
Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units
Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.
Response
200
Example response
{
"inspection_reports": [
{
"inspection_report": {
"id": 9,
"log_id": 1,
"date": "2016-07-22",
"time": "2016-07-22T14:00:00Z",
"odometer": 253,
"carrier_name": "Demo Carrier",
"location": "Omaha, NE",
"status": "corrected",
"mechanic_signed_at": "2016-07-22T14:00:00Z",
"mechanic_signature_url": "https://keep-truckin-development.s3.amazonaws.com/uploads/inspection_report/mechanic_signature_upload/9/open-uri20160712-30633-thc30n?AWSAccessKeyId=AKIAJH12345&Expires=1481274629&Signature=Qi1mXnl0ylJ5tCuds789Ocq44L4%3D",
"driver_signed_at": "2016-07-22T14:00:00Z",
"driver_signature_url": "https://keep-truckin-development.s3.amazonaws.com/uploads/inspection_report/driver_signature_upload/9/open-uri20160729-30645-1jeoj77?AWSAccessKeyId=AKIAJH12345&Expires=1481274629&Signature=Qi1mXnl0ylJ5tCuds789Ocq44L4%3D",
"reviewer_signed_at": "2016-07-22T14:00:00Z",
"reviewer_signature_url": "https://keep-truckin-development.s3.amazonaws.com/uploads/inspection_report/reviewer_signature_upload/9/open-uri20160729-30645-1jeoj77?AWSAccessKeyId=AKIAJH12345&Expires=1481274629&Signature=Qi1mXnl0ylJ5tCuds789Ocq44L4%3D",
"entity_num": "entity_num",
"entity_type": "vehicle",
"inspection_type": "pre-trip",
"declaration": "I declare that this vehicle has been inspected in accordance with the applicable requirements.",
"inspected_parts": [
{
"id": 5,
"category": "Mirrors",
"notes": "notes",
"type": "major",
"picture_url": "https://keep-truckin-preview.s3.amazonaws.com/uploads/defect/picture_upload/23137/15c31555-6642-4215-a3cd-81def1d329012396939324379336808.jpg?X"
}
],
"not_inspected_parts": [
{
"category": "9 - Emergency Equipment & Safety Devices"
}
],
"vehicle": {
"id": 4,
"number": "Demo Vehicle",
"year": "2016",
"make": "Demo",
"model": "Vehicle",
"vin": "WP0AB2966NS458669"
},
"asset": {
"id": 101,
"make": "Toyota",
"metric_units": true,
"model": "Camry",
"name": "V123",
"year": 2022
},
"mechanic": {
"id": 12,
"first_name": "Joe",
"last_name": "Williams",
"email": "joe@example.com"
},
"driver": {
"id": 11,
"first_name": "Demo",
"last_name": "Driver",
"username": "demo_driver"
},
"reviewer": {
"id": 13,
"first_name": "John",
"last_name": "Williams",
"email": "john@example.com"
},
"external_ids": [
{
"external_id": "201",
"integration_name": "generic_tms"
}
],
"entries": [
{
"name": "Tractor Plate #",
"value": "2743186",
"position": 1
}
]
}
}
],
"per_page": 25,
"page_no": 1,
"total": 3
}