CreateSurveyQuestion
Creates a new question on a survey page.
Input
| Name | Type | Required | Description |
| SurveyId | String | True | The survey ID. |
| PageId | String | True | The page ID. |
| Headings | String | True | List of question headings objects. |
| Position | Int32 | False | Position of question on page. |
| Family | String | True | Question family determines the type of question. |
| Subtype | String | True | Question family's subtype further specifies the type of question. |
| Sorting | String | False | Sorting details of answers. |
| Required | Boolean | False | Whether an answer is required for this question. |
| Validation | String | False | Whether the answer must pass certain validation parameters. |
| ForcedRanking | Boolean | False | Required if type is matrix and subtype is rating or single, whether or not to force ranking. |
| QuizOptions | String | False | Object containing the quiz properties of this question, if quiz-mode is enabled. |
| Answers | String | True | Answers object. Required for all question types except open_ended_single. |
| DisplayOptions | String | False | Display option object. Required for file upload, slider, image choice & emoji/star rating question types. |
Result Set Columns
| Name | Type | Description |
| QuestionId | String | The ID of the created question if the operation was executed successfully. |
| Success | Boolean | Whether the operation was successful or not. |