Answers
List Survey Answers
GET
/surveymodules/{moduleId}/surveys/{surveyId}/instances/{instanceId}/answers
https://api.relesysapp.net/api/v1.3/surveymodules/{moduleId}/surveys/{surveyId}/instances/{instanceId}/answers
Used to get answers for a survey instance with ID
For different answers, different fields will be filled out in the response object: when we have 'Text' or 'Employee Net Promoter Score' input, it will be returned in the
Default sort for the returned list is by
instanceId
.For different answers, different fields will be filled out in the response object: when we have 'Text' or 'Employee Net Promoter Score' input, it will be returned in the
answerText
property,
but when we have 'Multiple Choice' or 'Scale', then it will be in the locales
list along with the culture
of the locale.
questionType
- This field displays the type of the survey question.Currently, the available types to filter by are:
- Multiple Choice
- Scale
- Text
- Employee Net Promoter Score
isAnonymous
, then all answers for that question will be returned with userId = null
.
This property will also be null
if the associated user has been deleted. Default sort for the returned list is by
creationDate
in ascending order.
Scopes: relesys.api, relesys.api:read, relesys.api.survey, relesys.api.survey:read
URL Path
moduleId | string / guid | The module's unique identifier | required | |
surveyId | string / guid | The survey's unique identifier | required | |
instanceId | string / guid | The survey instance's unique identifier | required |
Query String
accountId | integer |
Filterable
|
optional | |
answerId | string / guid |
Filterable
|
optional | |
answerText | string |
Filterable Sortable
|
optional | |
creationDateTime | datetimeoffset |
Filterable Sortable
|
optional | |
lastModifiedDateTime | datetimeoffset |
Filterable Sortable
|
optional | |
questionId | string / guid |
Filterable
|
optional | |
questionType | string |
Filterable
|
optional | |
userId | string / guid |
Filterable
|
optional | |
sort | string | Comma separated sort order based on sortable properties | optional | |
offset | integer | Offset value for use in pagination | Default: 0 | optional |
limit | integer | Total objects to fetch (max 1000) | Default: 200 | optional |