Custom questionnaire submissions

Returns a list of all custom questionnaire submissions (excluding the answers). Includes location, kiosk, who submitted the answer, where the movement took place, date and time.

List all custom questionnaire submissions

Returns a list of custom questionnaire submission records. The endpoint is limited to a maximum of 10,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.

Request
query Parameters
q
string <string>

Filter by any custom questionnaire submission.

Example: q=498
order
string <string>

Specifies an element to order by. To order in reverse order, prepend the element with '-'.

Example: order=-questionnaire_id
limit
integer <int32>

Limits the amount of records to return

Example: limit=10
page
integer <int32>

Specifies which page of results to return, most effective when used together with the 'limit' parameter

header Parameters
If-Modified-Since
string <int32>

A UTC timestamp (yyyy-mm-ddThh:mm:ss). Only entities created or modified since this timestamp will be returned e.g. 2009-11-12T00:00:00

Responses
200

List of custom questionnaire submission records

403

Access denied to this resource.

404

No records are found matching the passed in filters

get/custom-questionnaire/submission
Request samples
curl -i -X GET \
  'https://api.whosonlocation.com/v1/custom-questionnaire/submission?q=string&order=string&limit=0&page=0' \
  -H 'If-Modified-Since: string'
Response samples
[
  • {
    }
]

Retrieve a custom questionnaire submission

Returns a custom questionnaire submission record filtered by the passed in ID.

Request
path Parameters
id
required
integer <int32>

ID of the custom questionnaire submission to look for

Responses
200

The custom questionnaire submission element matching the passed in ID

403

Access denied to this resource.

404

Resource not found.

get/custom-questionnaire/submission/{id}
Request samples
curl -i -X GET \
  https://api.whosonlocation.com/v1/custom-questionnaire/submission/:id
Response samples
{
  • "id": 1740,
  • "created": "2021-11-25T14:47:34+13:00",
  • "modified": "2021-12-11T14:47:34+13:00",
  • "questionnaire_id": 498,
  • "sp_member_id": 55,
  • "visitor_id": 138,
  • "staff_id": 7,
  • "movement_id": 18,
  • "source": "kiosk",
  • "onsite_status": "onsite"
}