Skip to content

Retrieving surveys

Jonas Enlund edited this page Aug 22, 2014 · 8 revisions
Endpoint Description
/surveys Retrieves a list of all surveys
/surveys/<survey-id> Retrieve survey by id

A survey contains the following data:

Field Description Type
surveys.name The name of the survey String
surveys.path String
surveys.displayName The name of the survey as shown on screen String
surveys.version The survey version String
surveys.description Survey description String
surveys.code String
surveys.sector
surveys.pointType String
surveys.defaultLanguageCode String
surveys.requireApproval Boolean
surveys.createdDateTime Date survey was created Unix timestamp
surveys.lastUpdateDateTime Date survey group was last updated Unix timestamp
surveys.sourceId
surveys.surveyGroupId The survey group this survey is part of Integer
surveys.instanceCount
surveys.keyId Survey id Integer
Clone this wiki locally