GET api/surveys/questions/{question}/alternatives

Gives you a list of alternatives of a given survey question

Request Information

URI Parameters

NameDescriptionTypeAdditional information
question

Question ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of alternatives

Collection of SurveyQuestionAlternativeDTO
NameDescriptionTypeAdditional information
Question

ID of parent Question

integer

None.

ID

Alternative ID

integer

Required

Name

Alternative title/text

string

Required

String length: inclusive between 0 and 1000

Order

Alternative order index in question, alternatives at same index gets shuffled

integer

None.

AlarmTrigger

Whether the alternative should trigger the survey alarm. Defaults to false.

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Question": 1,
    "ID": 2,
    "Name": "sample string 3",
    "Order": 1,
    "AlarmTrigger": true
  },
  {
    "Question": 1,
    "ID": 2,
    "Name": "sample string 3",
    "Order": 1,
    "AlarmTrigger": true
  }
]