A custom questionnaire is a set of custom questions that are asked during sign in, sign out, or visitor pre-registration. The custom questionnaire API retrieves your custom questionnaires and can return single records based on an ID.
Learn more about custom questionnaires in the OnLocation Help Center.
Returns a list of all custom questionnaire records. 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 questionnaire records
Access denied to this resource
Resource not found
curl -i -X GET \ 'https://api.whosonlocation.com/v1/custom-questionnaire?q=string&order=string&limit=0&page=0' \ -H 'If-Modified-Since: string'
[- {
- "id": 498,
- "created": "2021-11-25T12:45:45+13:00",
- "modified": "2021-11-25T12:51:48+13:00",
- "active": true,
- "name": "Health Check",
- "record_type": "visitor",
- "setup_by": 823,
- "frequency": "every",
- "frequency_days": 1,
- "location_id": 301
}
]
Returns a custom questionnaire record filtered by the provided ID.
The custom questionnaire element matching the passed in ID
Access denied to this resource.
Resource not found.
curl -i -X GET \ https://api.whosonlocation.com/v1/custom-questionnaire/:id
{- "id": 498,
- "created": "2021-11-25T12:45:45+13:00",
- "modified": "2021-11-25T12:51:48+13:00",
- "active": true,
- "name": "Health Check",
- "record_type": "visitor",
- "setup_by": 823,
- "frequency": "every",
- "frequency_days": 1,
- "location_id": 301
}