Training
For clients
Загружается...
An object describing an answer option for a survey question.
| Field name | Type | Conditions | Description |
|---|---|---|---|
| id | string | readablewritabledefault_field | Answer option identifier. When creating a survey and using conditions, you must pass a temporary id for each answer (must have the new_ prefix). This is required because in SurveyConditionAnswerExists conditions are defined based on the answer id. After the survey is created, the temporary id will be replaced with the real one. When updating a survey, the new_ prefix is required only for new answer options. |
| type | integer | readablewritable choices =
| Answer option type |
| text | string | readablewritablemax_length=40 | The answer option text itself. This field should be provided only if a custom answer option type is selected. |