Types
InspectionResultInput
An inspection to submit as a draft or as completed, through createInspectionResult.
input
InspectionResultInputFields
id
String
Id of an existing inspection result, such as a saved draft, to replace.
inspectionDate
DateTime!
required
When the inspection took place.
inspectorId
String!
required
Id of the user who carried out the inspection.
isDraft
Boolean
True to save the inspection as a draft rather than completing it.
locationId
Int
Id of the location inspected.
questionResponses
required
Responses to the template's questions. Set as an empty list if there are no responses.
templateId
String!
required
Id of the inspection template the inspection follows.