Skip to main content

Checklist template question

Get checklist template questions#

Response

Returns a list of Question objects

Examples

curl https://api.qvalon.com/v1/templates/629/questions \
--header 'Authorization: Bearer <your_token>'
200 OK
{
"content": [
[
{
"id": 1081,
"name": "Are windows clean?",
"active": true,
"categoryId": 4045,
"categoryName": "Cleaning",
"templateId": 629,
"zoneId": 0,
"zoneName": "No zone",
"originalId": 1071,
"controlType": "default",
"weight": 1,
"required": false,
"blockCategory": false,
"blockChecklist": false,
"hint": "hint for checklist",
"hasAnswers": true,
"hasClones": false,
"needToRename": false,
"needToRelink": false,
"needToUpdate": false,
"attachmentRequired": false,
"routeToUserId": null,
"routeToUserName": null,
"routeToBusinessDirId": null,
"routeToBusinessDirName": null,
"routeToLevel": "REGION",
"notificationPeriod": null,
"daysForAction": 2,
"daysForActionEditable": false,
"minutesForAction": 0,
"deadlineTimeEnabled": false,
"needPhotoIfAnswerNo": false,
"photoHints": [],
"noCreateTask": false,
"netiCategoryId": null,
"netiQtyToCheck": null,
"isNaAllowed": null,
"lastModified": "2022-04-04T09:50:39.278Z",
"supervisorCommentNecessityExtended": "REQUIRED_FOR_NEGATIVE"
}
]
],
"pageable": {
"sort": {
"sorted": false,
"unsorted": true,
"empty": true
},
"pageNumber": 0,
"pageSize": 20000,
"offset": 0,
"paged": true,
"unpaged": false
},
"totalElements": 1,
"totalPages": 1,
"last": true,
"first": true,
"sort": {
"sorted": false,
"unsorted": true,
"empty": true
},
"size": 20000,
"number": 0,
"numberOfElements": 1,
"empty": false
}