Get report
Returns an individual inspection report based on Report Id
Path Parameters
Unique identifier for a given resource.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
Response
application/json
Response
Ok
Report
Inspection details of a vehicle or other asset
Report submitted time as UTC in RFC 3339-ISO8601 internet profile
>= 24 characters<= 24 characters
Unique identifier for a given resource.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
Asset under inspection
Show Child Parameters
Overall status of all related CRITICAL defects. Calculated only when relatedDefects are included into the response.
- PASSED when no CRITICAL defects were reported
- FAILED when at least one reported CRITICAL defect is PENDING
- RESOLVED when all CRITICAL defects are FIXED or CERTIFIED and at least one has status FIXED
- CERTIFIED when all reported CRITICAL defects are CERTIFIED
Allowed values:PASSEDFAILEDRESOLVEDCERTIFIED
Match pattern:^[^\n]+$
>= 1 characters<= 120 characters
Named occurrence at an instant in time. It provides additional specifics about the occurrence.
Examples of Events might include things like uncaught exceptions, button clicks, user logout, network connection severed, etc.
>= 0 items<= 100 items
Show Child Parameters
Type of the inspection report.
Allowed values:PRE_TRIPPOST_TRIP
Unique identifier for a report.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
Template Item result within a given report.
>= 0 items<= 100 items
Show Child Parameters
Defects related to the report outside of results
>= 0 items<= 100 items
Show Child Parameters
One OfAttachments in the report
>= 0 items<= 100 items
Attachment related to the report
Show Child Parameters
Notes about the report
Match pattern:^[^\n]*$
>= 0 characters<= 2000 characters
Person performing an inspection
Show Child Parameters
Reference to another resource
>= 0 items<= 100 items
Show Child Parameters
An inspectionType can be of an enum
Allowed values:DVIR
Get list of templates
Returns a list of templates along with template identifier, name, status and template items.
Query Parameters
Status of a template:
- ACTIVE template is visible to drivers to inspect with,
- INACTIVE templates are used only to display historical reports and for backward compatibility of mobile apps,
- DRAFT is in the process of being edited by the admin and not available for inspections yet.
Allowed values:ACTIVEINACTIVEDRAFT
>= 1 items<= 3 items
Response
application/json
Response
Ok
A name will identify the template.
>= 0 items<= 100 items
Show Child Parameters
Get template by its ID
Returns an individual template along with its items.
Path Parameters
Unique identifier for a given resource.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
Response
application/json
Response
Ok
Template
A name will identify the template.
An item can be of a valueType and is uniquely identified by the name
>= 0 items<= 200 items
Show Child Parameters
Determines how inspection items will be presented to the drivers on the user interface. Specifies whether drivers need to confirm only defective items or must verify all inspection items regardless of condition before submitting the report.
Types of template:
SELECT_DEFECTS_ONLYRequires driver to selects only the defective inspection items from the user interface during the creation of an inspection report,SELECT_ALL_ITEMSRequires driver to check and selects all inspection items from the user interface during the creation of an inspection report
Allowed values:SELECT_DEFECTS_ONLYSELECT_ALL_ITEMS
Status of a template:
- ACTIVE template is visible to drivers to inspect with,
- INACTIVE templates are used only to display historical reports and for backward compatibility of mobile apps,
- DRAFT is in the process of being edited by the admin and not available for inspections yet.
Allowed values:ACTIVEINACTIVEDRAFT
Notes about the template
Match pattern:^(?!\s)(?!.*\s$)[\S\s]+(?<!\s)$
>= 0 characters<= 120 characters
Reference to another resource
>= 0 items<= 100 items
Show Child Parameters
Unique name of the template.
Match pattern:^\S[^\n]+\S$
>= 3 characters<= 60 characters
Unique identifier for a template.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
InspectionType
stringAn inspectionType can be of an enum
Allowed values:DVIR
PrivacySubjectSearchRequest
objectThe request of privacy subject search
The last name of the person to be searched.
Match pattern:^[^\n]+$
>= 1 characters<= 120 characters
The first name of the person to be searched.
Match pattern:^[^\n]+$
>= 1 characters<= 120 characters