Template
objectA 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
TemplateStatus
stringStatus 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
DefectSeverity
stringSeverity of the defect.
Allowed values:MINORCRITICAL
TemplateItemValueType
stringDefines the type of data element within a template
Allowed values:CHECKMETERTEXTLOCATIONPHOTO
InspectionStatus
stringOverall 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