A custom questionnaire is made up of a set of custom questions. Use the API to list all custom questions created for your organization. View details including the question type (eg multi-choice, waiver, date picker) and the settings (eg if it's mandatory, if answer share is enabled, and who set it up).
Learn more about custom questions in the OnLocation Help Center.
Returns a list of all custom questions. The endpoint is limited to a maximum of 5,000 records.
A comma separated list of tag:value search parameters, a colon separator performs an exact match, a percent separator performs a starts-with search and greater/less than search number/date ranges.
List of custom questions
Access denied to this resource
Resource not found
curl -i -X GET \ 'https://api.whosonlocation.com/v1/custom-questionnaire/question?q=string&order=string&limit=0&page=0' \ -H 'If-Modified-Since: string'
[- {
- "id": 976,
- "created": "2021-11-25T12:51:26+13:00",
- "modified": "2021-11-30T12:51:26+13:00",
- "questionnaire_id": 498,
- "question": "Example Waiver Question",
- "type": "waiver",
- "compulsory": true,
- "answershare": true,
- "order": 9999,
- "parent_id": 974,
- "parent_key": 0,
- "version": 2,
- "setup_by": 855,
- "settings_options": [
- [
- "I acknowledge",
- "I do not acknowledge"
]
], - "settings_options_unique": [
- [
- 1,
- 2
]
], - "settings_waiver": "Example waiver",
- "settings_image": {
- "title": "Waiver Image",
}, - "settings_signature": true,
- "settings_copy": true,
- "settings_copy_host": true,
- "settings_send_recipients": [
- [
- 554,
- 2754
]
], - "settings_email_non_staff": "example-email@whosonlocation.com"
}
]
Returns a custom question record filtered by the provided ID.
The custom question record matching the passed in ID
Access denied to this resource.
Resource not found.
curl -i -X GET \ https://api.whosonlocation.com/v1/custom-questionnaire/question/:id
{- "id": 976,
- "created": "2021-11-25T12:51:26+13:00",
- "modified": "2021-11-30T12:51:26+13:00",
- "questionnaire_id": 498,
- "question": "Example Waiver Question",
- "type": "waiver",
- "compulsory": true,
- "answershare": true,
- "order": 9999,
- "parent_id": 974,
- "parent_key": 0,
- "version": 2,
- "setup_by": 855,
- "settings_options": [
- [
- "I acknowledge",
- "I do not acknowledge"
]
], - "settings_options_unique": [
- [
- 1,
- 2
]
], - "settings_waiver": "Example waiver",
- "settings_image": {
- "title": "Waiver Image",
}, - "settings_signature": true,
- "settings_copy": true,
- "settings_copy_host": true,
- "settings_send_recipients": [
- [
- 554,
- 2754
]
], - "settings_email_non_staff": "example-email@whosonlocation.com"
}