Training
For clients
Загружается...
An object describing a survey question.
| Field name | Type | Conditions | Description |
|---|---|---|---|
| is_required | boolean | readablewritable | A flag indicating whether the respondent is required to answer the question. At the moment, all questions are required, so this flag must be set to true. |
| text | string | readablewritablerequiredmax_length=68 | Question text |
| type | string | readablewritablerequired choices =
| Question type |
| answers | list of Answer | readablewritablerequiredmax_items=7 | List of answer options. For questions with type=text_answer and type=scale_answer, you do not need to specify answer options. For all other types, at least 2 answer options are required. Special answer option types must not be duplicated among the options. |
| scale | Scale | readablewritable | Scale settings. Must be provided only when type=scale_answer. |