Skip to content

Retrieving survey instances

Jonas Enlund edited this page Aug 22, 2014 · 13 revisions

Retrieving survey instances

Retrieve a list of answered surveys (survey instances).

Endpoint Description
/survey_instances?surveyId=<id> Retrieves a list of survey instances based on survey id
/survey_instances?deviceId=<id> Retrieves a list of survey instances based on device id

Response fields

field description type
survey_instances.surveyCode The name of the survey String
survey_instances.surveyId survey Id String
survey_instances.submitterName Name of the person who submitted the answers String
survey_instances.deviceIdentifier Id of the device through which the survey was submitted String
survey_instances.approximateLocationFlag
survey_instances.approvedFlag
survey_instances.userID User ID of the person who submitted the answers Integer
survey_instances.collectionDate Date the answers are collected Unix timestamp
survey_instances.questionAnswersStore
survey_instances.surveyalTime time (in seconds) it took to collect the answers Integer
survey_instances.keyId Unique key for this instance Integer
survey_instances.surveyedLocaleIdentifier
survey_instances.surveyedLocaleId
survey_instances.surveyedLocaleId
Clone this wiki locally