survey
Get Survey Data
GET
https://preignition.org/api/v1/data/:programID/survey/:resourceID
This endpoint allows to get an export of survey data, based on resourceID
and programID
.Usually, export links are build by the application using the export tool (see export tool ).
Path Parameters
resourceID
string
The ID of the resource (survey)
programID
string
ID of the program
Query Parameters
format
string
return format, either ("csv" - default or "json").
refKey
string
a key pointing to a list of businesses. The export tool stores a list of selected businesses that will be looped over while building the export object.
refKey
is a pointer to this location.
returnType
string
"code" or "human" (default).
\
Specify the type of return. "human" will convert codes into human-readable lookups.
buildID
string
The
buildID
of the survey (
resourceID
). A build is a frozen snapshot of survey definition at a given time. It is equivalent to a version number.
\
The default value is the current
buildID
for
programID
token
string
A valid token to identify the user initiating the request
Export links last a maximum of 1 hour and can only be user once. A new token
and refKey
need to be obtained for the next export (from the expor tool).
Last updated