Training
For clients
Загружается...
An object describing a lead form question.
| Field name | Type | Conditions | Description |
|---|---|---|---|
| is_required | boolean | readablewritable | Flag indicating whether the user must answer the question. Currently, 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, answer options should not be provided. For all other types, at least 2 answer options are required. Special option types must not be duplicated among the options. |