Retrieve Inspection Form
GEThttps://secure.fleetio.com/api/v3/inspection_forms/:id
Returns a single Inspection Form.
Request
Path Parameters
Possible values: Value must match regular expression ^[0-9]+$
The id of the relevant record
Responses
- 200
- 401
- 404
- 500
OK
- application/json
- Schema
- Example (auto)
Schema
The ID of the Inspection Form.
20
The title or name of the Inspection Form.
Driver Vehicle Inspection Report (Full)
A brief description or explanation of the Inspection Form's purpose or requirements.
As required by the US Dept. of Transportation (DOT) Federal Motor Carrier Safety Regulations in FMCSA 396.11.a.1
The date and time when the Inspection Form was last updated. Formatted according to ISO-8601 in UTC.
2023-09-20T08:46:11Z
The date and time when the Inspection Form was archived, if applicable.
Indicates whether live photos are required as part of the inspection.
false
The version number of the Inspection Form.
8
The ID of the current version of the Inspection Form.
50
Indicates whether the workflow allows assigning Users
to Vehicles
for inspections.
false
inspection_items object[]
{
"id": 20,
"title": "Driver Vehicle Inspection Report (Full)",
"description": "As required by the US Dept. of Transportation (DOT) Federal Motor Carrier Safety Regulations in FMCSA 396.11.a.1",
"updated_at": "2023-09-20T08:46:11Z",
"archived_at": "2024-07-29T15:51:28.071Z",
"require_live_photo": false,
"version": 8,
"current_form_version_id": 50,
"workflow_assign_user_to_vehicle_enabled": false,
"inspection_items": [
{
"id": 88,
"inspection_form_version_id": 50,
"account_id": 18,
"type": "InspectionDateItem",
"label": "Odometer Reading",
"short_description": "Meter Entry Inspection Item.",
"instructions": "Complete this Inspection Item by entering the odometer reading.",
"required": true,
"position": 1,
"require_remark_for_fail": false,
"pass_label": "Pass",
"fail_label": "Fail",
"reuse_pass_fail_label": true,
"require_secondary_meter_if_one_exists": true,
"created_at": "2023-09-20T11:00:19.952-05:00",
"updated_at": "2016-07-27T20:38:56.454-05:00",
"version_key": "6552b703-e366-420d-873a-2a4ca0f73acc",
"na_label": "N/A",
"enable_na_option_for_submission": false,
"require_remark_for_pass": false,
"dropdown_options": [
"string"
],
"numeric_range_min": 3,
"numeric_range_max": 5,
"require_meter_entry_photo_verification": false
}
]
}
Request could not be authenticated
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
The requested resource could not be located
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Something unexpected happened
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64". You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
- curl
- ruby
- python
- csharp
- go
- java
- nodejs
- php
- CURL
curl -L 'https://secure.fleetio.com/api/v3/inspection_forms/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'