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
Operator
objectPerson performing an inspection
Role of a person who prepared the report
Allowed values:DRIVER
Name of an operator.
Match pattern:^[^\n]+$
>= 1 characters<= 120 characters
Unique identifier for a given resource.
Match pattern:^[A-Za-z0-9-]{1,120}$
>= 1 characters<= 120 characters
PrivacySubjectLabel
objectThe subject’s name and type, useful for the subject selection process in the privacy request flow.
Full name of the subject.
Match pattern:^[^\n]+$
>= 1 characters<= 120 characters
Identifying traits
>= 0 items<= 100 items
Show Child Parameters
Localized type of the subject.
Match pattern:^[^\n]*$
>= 0 characters<= 120 characters