Query
query InspectionTemplates {
inspectionTemplates {
archivedAt
id
name
organizationId
template
}
}Response
{
"data": {
"inspectionTemplates": [
{
"archivedAt": "value",
"id": "string",
"name": "string",
"organizationId": "string",
"template": "value"
}
]
}
}Queries
inspectionTemplates
The organization’s active inspection templates. Empty if there are no active inspection templates.
QUERY
inspectionTemplates: [InspectionTemplate!]!Returns
archivedAt
DateTime
When the template was archived.
id
String!
Id of the template.
name
String!
Name of the template.
organizationId
String!
Id of the organization that owns the template.
template
JSON!
The checklist itself: its title, displayType ('sequential' or 'grid'), singleLocation flag and prompts, each with its questions.
Query
query InspectionTemplates {
inspectionTemplates {
archivedAt
id
name
organizationId
template
}
}Response
{
"data": {
"inspectionTemplates": [
{
"archivedAt": "value",
"id": "string",
"name": "string",
"organizationId": "string",
"template": "value"
}
]
}
}