Creates InspectionResponses.
POST/inspection-responses
Submit InspectionResponse. This mutation is usually used by operator applications (mobile). The idea is that the operator will answer all questions and submit the InspectionResponse, consisting of an answer for each question. An outdated InspectionTemplateVersion may still be used, as InspectionTemplateVersions are immutable, and a response may be captured offline and submitted later — supporting inspections in remote areas with poor internet connection and pre-downloaded InspectionTemplates, where the response is stored locally on the device until a connection is available.
The submission is rejected unless the conducting account currently has visibility to the asset, a currently-valid InspectionAssignment exists for the asset and InspectionTemplate, and the inspection was conducted within the accepted time window.
This API is used to create InspectionResponse, or in other words: submitting result of performed inspection.
To be able to call the service a valid token is required. To get a token follow this guide: How to obtain a token
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Inspections submitted successfully.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
Internal server error