PUT api/surveys/questions/{question}/slider

Updates the slider settings of a given survey question with the given information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
question

Question ID

integer

Required

Body Parameters

Updated slider data

SurveyQuestionSliderDTO
NameDescriptionTypeAdditional information
Question

ID of parent Survey question

integer

Required

Min

Slider minimum value

decimal number

Required

Max

Slider maximum value

decimal number

Required

Step

Length of slider value steps

decimal number

Required

AlarmTriggerLevel

Threshold below or equal which alarm should be triggered, if any

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Question": 1,
  "Min": 2.0,
  "Max": 3.0,
  "Step": 4.0,
  "AlarmTriggerLevel": 1.0
}

Response Information

Resource Description

Updated slider settings

SurveyQuestionSliderDTO
NameDescriptionTypeAdditional information
Question

ID of parent Survey question

integer

Required

Min

Slider minimum value

decimal number

Required

Max

Slider maximum value

decimal number

Required

Step

Length of slider value steps

decimal number

Required

AlarmTriggerLevel

Threshold below or equal which alarm should be triggered, if any

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Question": 1,
  "Min": 2.0,
  "Max": 3.0,
  "Step": 4.0,
  "AlarmTriggerLevel": 1.0
}