List Questions
/form_templates/{id}/questions
A list of questions for a form template.
Get Question Types [GET]
Authorization: Admin
Response 200
Body
{
"page": 1,
"pages": 1,
"count": 3,
"items": [{
"id": 13433,
"title": "Work related exposure to:",
"definition": null,
"required": false,
"hasAnswerLogic": false,
"type": {
"name": "multiSelect",
"displayName": "Multi Select",
"id": 2
},
"payload": {
"default": null,
"defaultSelectionId": null,
"selectionListId": null,
"selections": [{
"id": 7992,
"abbr": "1",
"value": "Sudden Loud Noises",
"color": null,
"score": 1,
"priorityId": 3
}, {
"id": 7993,
"abbr": "2",
"value": "Noisy Machines/Tools",
"color": null,
"score": 2,
"priorityId": 3
}, {
"id": 7994,
"abbr": "3",
"value": "Consistently Loud",
"color": null,
"score": 3,
"priorityId": 3
}, {
"id": 7995,
"abbr": "4",
"value": "Other",
"color": null,
"score": 4,
"priorityId": 3
}]
},
"questionFilesCount": 0,
"cannedCommentsCount": 0,
"resourcesCount": 0,
"questionHeading": {
"id": 4984,
"name": "Default",
"ordinal": 1
},
"calculatedFromFormula": false,
"ordinal": 101,
"hasStatusLogic": false
}, {
"id": 13430,
"title": "In what department are you currently working?",
"definition": null,
"required": false,
"hasAnswerLogic": false,
"type": {
"name": "shortText",
"displayName": "Short Text (<50 chars)",
"id": 3
},
"payload": {
"default": null
},
"questionFilesCount": 0,
"cannedCommentsCount": 1,
"resourcesCount": 0,
"questionHeading": {
"id": 4984,
"name": "Default",
"ordinal": 1
},
"calculatedFromFormula": false,
"ordinal": 201,
"hasStatusLogic": false
}, {
"id": 13434,
"title": "Can the hazard be eliminated without the use of PPE?",
"definition": null,
"required": false,
"hasAnswerLogic": false,
"type": {
"name": "singleSelect",
"displayName": "Single Select",
"id": 1
},
"payload": {
"default": null,
"defaultSelectionId": null,
"selectionListId": null,
"selections": [{
"id": 7989,
"abbr": null,
"value": "Yes",
"color": null,
"score": 1,
"priorityId": 0
}, {
"id": 7990,
"abbr": null,
"value": "No",
"color": null,
"score": 2,
"priorityId": 3
}, {
"id": 7991,
"abbr": null,
"value": "Not Applicable",
"color": null,
"score": 3,
"priorityId": -1
}]
},
"questionFilesCount": 0,
"cannedCommentsCount": 0,
"resourcesCount": 0,
"questionHeading": {
"id": 4984,
"name": "Default",
"ordinal": 1
},
"calculatedFromFormula": false,
"ordinal": 204,
"hasStatusLogic": false
}, {
"id": 13435,
"title": "What is the Decibel level in this Area?",
"definition": null,
"required": false,
"hasAnswerLogic": false,
"type": {
"name": "number",
"displayName": "Number",
"id": 5
},
"payload": {
"default": null,
"uoms": [{
"id": 732,
"name": "dB"
}],
"min": {
"value": null,
"priorityId": null
},
"max": {
"value": null,
"priorityId": null
}
},
"questionFilesCount": 0,
"cannedCommentsCount": 0,
"resourcesCount": 0,
"questionHeading": {
"id": 4984,
"name": "Default",
"ordinal": 1
},
"calculatedFromFormula": false,
"ordinal": 205,
"hasStatusLogic": false
}, {
"id": 13436,
"title": "When was the Decibel level last checked?",
"definition": null,
"required": false,
"hasAnswerLogic": false,
"type": {
"name": "date",
"displayName": "Date",
"id": 6
},
"payload": {
"default": null
},
"questionFilesCount": 0,
"cannedCommentsCount": 0,
"resourcesCount": 0,
"questionHeading": {
"id": 4984,
"name": "Default",
"ordinal": 1
},
"calculatedFromFormula": false,
"ordinal": 206,
"hasStatusLogic": false
}, {
"id": 13437,
"title": "If the hazard can't be eliminated use:",
"definition": null,
"required": false,
"hasAnswerLogic": false,
"type": {
"name": "multiSelect",
"displayName": "Multi Select",
"id": 2
},
"payload": {
"default": null,
"defaultSelectionId": null,
"selectionListId": null,
"selections": [{
"id": 7996,
"abbr": "EM",
"value": "Ear Muffs",
"color": null,
"score": 1,
"priorityId": 0
}, {
"id": 7997,
"abbr": "EP",
"value": "Ear Plugs",
"color": null,
"score": 2,
"priorityId": 0
}, {
"id": 7998,
"abbr": "NS",
"value": "Noise Reducing Stuff",
"color": null,
"score": 3,
"priorityId": 0
}, {
"id": 8000,
"abbr": "JR",
"value": "Job Rotation",
"color": null,
"score": 4,
"priorityId": 0
}, {
"id": 7999,
"abbr": "O",
"value": "Other",
"color": null,
"score": 5,
"priorityId": 0
}]
},
"questionFilesCount": 0,
"cannedCommentsCount": 0,
"resourcesCount": 0,
"questionHeading": {
"id": 4984,
"name": "Default",
"ordinal": 1
},
"calculatedFromFormula": false,
"ordinal": 207,
"hasStatusLogic": false
}]
}