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

Name
Type
Description

resourceID

string

The ID of the resource (survey)

programID

string

ID of the program

Query Parameters

Name
Type
Description

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

{
    "name": "Cake's name",
    "recipe": "Cake's recipe name",
    "cake": "Binary cake"
}

Last updated