Early access feature
- Creates a question in a survey.
Name | Description | Type | Additional information |
---|---|---|---|
surveyId
The id of the survey in which question needs to be inserted.
Type
integer
Additional info
Required
|
|||
surveyId |
The id of the survey in which question needs to be inserted. |
integer |
Required |
Question object to create or update a question.
Name | Description | Type | Additional information |
---|---|---|---|
InsertBeforeQuestionId
Id of a survey question before which the new questions needs to be inserted (unique identifier).
Type
integer
Additional info
Required for insert |
|||
InsertBeforeQuestionId |
Id of a survey question before which the new questions needs to be inserted (unique identifier). |
integer |
Required for insert |
QuestionTypeId
Enum value of the question type which needs to be created.
Type
QuestionType
Additional info
Required |
|||
QuestionTypeId |
Enum value of the question type which needs to be created. |
QuestionType |
Required |
ExtractQuestionId
Id of the question of which extraction is based on
Type
integer
|
|||
ExtractQuestionId |
Id of the question of which extraction is based on |
integer | |
QuestionStrings
List of question text and language code for all the applicable languages to the survey
Type
Collection of QuestionString
Additional info
Required |
|||
QuestionStrings |
List of question text and language code for all the applicable languages to the survey |
Collection of QuestionString |
Required |
Groups
List of groups details applied to answer choices
Type
Collection of AnswerChoiceGroup
|
|||
Groups |
List of groups details applied to answer choices
|
Collection of AnswerChoiceGroup | |
AnswerChoices
List of answer choices and their properties
Type
Collection of AnswerChoice
Additional info
Required |
|||
AnswerChoices |
List of answer choices and their properties |
Collection of AnswerChoice |
Required |
SubQuestionGroups
List of groups details applied to sub-questions.
Type
Collection of AnswerChoiceGroup
|
|||
SubQuestionGroups |
List of groups details applied to sub-questions.
|
Collection of AnswerChoiceGroup | |
SubQuestions
List of sub-questions and there properties.
Type
Collection of SubQuestion
|
|||
SubQuestions |
List of sub-questions and there properties.
|
Collection of SubQuestion | |
SubQuestionOrderTypeId
Enum value of display order of sub-questions
Type
AnswerChoiceOrder
|
|||
SubQuestionOrderTypeId |
Enum value of display order of sub-questions
|
AnswerChoiceOrder | |
SubQuestionShowTop
Number of top sub-questions to show.
Type
integer
|
|||
SubQuestionShowTop |
Number of top sub-questions to show.
|
integer | |
SubQuestionIsBalanced
To balance the sub-questions being displayed.
Type
boolean
Additional info
Applicable when sub-questions are grouped and response order of group is set to Display Random Subset |
|||
SubQuestionIsBalanced |
To balance the sub-questions being displayed.
|
boolean |
Applicable when sub-questions are grouped and response order of group is set to Display Random Subset |
SecondaryQuestion
Secondary question to the main question.
Type
SecondaryQuestion
|
|||
SecondaryQuestion |
Secondary question to the main question.
|
SecondaryQuestion | |
DisplayLogicTypeId
Enum value of disply logic type applicable to main question
Type
DisplayLogicTypeId
|
|||
DisplayLogicTypeId |
Enum value of disply logic type applicable to main question
|
DisplayLogicTypeId | |
DisplayLogic
Display logic of main question.
Type
string
|
|||
DisplayLogic |
Display logic of main question.
|
string | |
PageNumber
Page number of the survey where the question is placed
Type
integer
Additional info
Required |
|||
PageNumber |
Page number of the survey where the question is placed |
integer |
Required |
DisplayOrder
Display order of the main questions
Type
integer
Additional info
Required for update |
|||
DisplayOrder |
Display order of the main questions |
integer |
Required for update |
IsPrefillAddAnswerChoice
Add prefill to a answer choice.
Type
boolean
|
|||
IsPrefillAddAnswerChoice |
Add prefill to a answer choice.
|
boolean | |
IsPostfillAddAnswerChoice
Add postfill to a answer choice.
Type
boolean
|
|||
IsPostfillAddAnswerChoice |
Add postfill to a answer choice.
|
boolean | |
IsNewPage
True for question which should be standalone on the page.
Type
boolean
Additional info
Required |
|||
IsNewPage |
True for question which should be standalone on the page.
|
boolean |
Required |
DataLabel
Data label of a question
Type
string
Additional info
Should be unique in a survey for each question |
|||
DataLabel |
Data label of a question |
string |
Should be unique in a survey for each question |
IsRequired
True if question should be mandatory
Type
boolean
|
|||
IsRequired |
True if question should be mandatory |
boolean | |
MinimumValue
Minimum value validation.
Type
integer
|
|||
MinimumValue |
Minimum value validation.
|
integer | |
MaximumValue
Maximum value validation.
Type
integer
|
|||
MaximumValue |
Maximum value validation.
|
integer | |
OrderTypeId
Enum value of display order of answer choices.
Type
AnswerChoiceOrder
|
|||
OrderTypeId |
Enum value of display order of answer choices.
|
AnswerChoiceOrder | |
NumberOfColumns
Number of columns to be shown.
Type
integer
|
|||
NumberOfColumns |
Number of columns to be shown.
|
integer | |
InputWidth
Input width of the control.
Type
integer
|
|||
InputWidth |
Input width of the control.
|
integer | |
Alignment
Alignment of the control.
|
|||
Alignment |
Alignment of the control.
|
AnswerChoiceAlignment | |
AnswerChoiceValidationType
Enum value for the validation type to be applied on answer choices.
|
|||
AnswerChoiceValidationType |
Enum value for the validation type to be applied on answer choices.
|
AnswerChoiceValidationType | |
ScaleTypeId
Enum value of the scale type to be applied to a question.
Type
ScaleType
|
|||
ScaleTypeId |
Enum value of the scale type to be applied to a question.
|
ScaleType | |
DisplayTypeRankOrderScale
Enum value of type of control to be rendered (Buttons or Dropdowns)
|
|||
DisplayTypeRankOrderScale |
Enum value of type of control to be rendered (Buttons or Dropdowns)
|
DisplayTypeRankOrderScale | |
DisplayTypeRatingScale
Enum value of type of control to be rendered (Frames, EndPoint, RadioButtons)
|
|||
DisplayTypeRatingScale |
Enum value of type of control to be rendered (Frames, EndPoint, RadioButtons)
|
DisplayTypeRatingScale | |
MinimumFormula
Minimum value validation to be applied
Type
string
|
|||
MinimumFormula |
Minimum value validation to be applied
|
string | |
MaximumFormula
Maximum value validation to be applied
Type
string
|
|||
MaximumFormula |
Maximum value validation to be applied
|
string | |
CameraSetting
Enum value for camera settings
Type
CameraSetting
|
|||
CameraSetting |
Enum value for camera settings
|
CameraSetting | |
ShowTop
Number of top answer choices to show. Applicable when response order of answer choices is set to Display Random Subset.
Type
integer
|
|||
ShowTop |
Number of top answer choices to show. Applicable when response order of answer choices is set to Display Random Subset.
|
integer | |
IsBalanced
Number of top answer choices to show.
Type
boolean
|
|||
IsBalanced |
Number of top answer choices to show.
|
boolean | |
VideoQuestion
Settings specific to video question
Type
VideoQuestion
|
|||
VideoQuestion |
Settings specific to video question
|
VideoQuestion | |
MaxDiffQuestion
Settings specific to Maxdiff question
Type
MaxDiffQuestion
|
|||
MaxDiffQuestion |
Settings specific to Maxdiff question
|
MaxDiffQuestion | |
CardSortQuestion
Settings specific to cardsort question
Type
CardSortQuestion
|
|||
CardSortQuestion |
Settings specific to cardsort question
|
CardSortQuestion | |
ConjointQuestion
Settings specific to conjoint question
|
|||
ConjointQuestion |
Settings specific to conjoint question
|
ConjointQuestionDetails |
{ "InsertBeforeQuestionId": 1, "QuestionTypeId": 1, "ExtractQuestionId": 5, "QuestionStrings": [ { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "Groups": [ { "GroupId": 1, "IsFixedPosition": true, "ShowTop": 3, "DisplayLabel": "sample string 4", "IsBalanced": true }, { "GroupId": 1, "IsFixedPosition": true, "ShowTop": 3, "DisplayLabel": "sample string 4", "IsBalanced": true } ], "AnswerChoices": [ { "AnswerChoiceStrings": [ { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "DisplayOrder": 2, "IsOther": true, "IsNotApplicable": true, "PointValue": 1.0, "PrefillTypeId": "sample string 5", "PrefillValue": "sample string 6", "ScaleValue": 1, "DisplayLogic": "sample string 7", "IsFixedPosition": true, "GroupId": 1 }, { "AnswerChoiceStrings": [ { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "DisplayOrder": 2, "IsOther": true, "IsNotApplicable": true, "PointValue": 1.0, "PrefillTypeId": "sample string 5", "PrefillValue": "sample string 6", "ScaleValue": 1, "DisplayLogic": "sample string 7", "IsFixedPosition": true, "GroupId": 1 } ], "SubQuestionGroups": [ { "GroupId": 1, "IsFixedPosition": true, "ShowTop": 3, "DisplayLabel": "sample string 4", "IsBalanced": true }, { "GroupId": 1, "IsFixedPosition": true, "ShowTop": 3, "DisplayLabel": "sample string 4", "IsBalanced": true } ], "SubQuestions": [ { "QuestionId": 1, "ParentQuestionId": 2, "QuestionStrings": [ { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "DisplayLogic": "sample string 3", "DisplayOrder": 4, "DataLabel": "sample string 5", "IsOther": true, "GroupId": 1, "IsFixedPosition": true, "IsNotApplicable": true }, { "QuestionId": 1, "ParentQuestionId": 2, "QuestionStrings": [ { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "DisplayLogic": "sample string 3", "DisplayOrder": 4, "DataLabel": "sample string 5", "IsOther": true, "GroupId": 1, "IsFixedPosition": true, "IsNotApplicable": true } ], "SubQuestionShowTop": 6, "SubQuestionIsBalanced": true, "SecondaryQuestion": { "QuestionId": 1, "QuestionTypeId": 1, "QuestionStrings": [ { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "QuestionId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "AnswerChoices": [ { "AnswerChoiceId": 1, "AnswerChoiceStrings": [ { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "DisplayOrder": 2, "IsNotApplicable": true }, { "AnswerChoiceId": 1, "AnswerChoiceStrings": [ { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "DisplayOrder": 2, "IsNotApplicable": true } ] }, "DisplayLogic": "sample string 8", "PageNumber": 9, "DisplayOrder": 10, "IsPrefillAddAnswerChoice": true, "IsPostfillAddAnswerChoice": true, "IsNewPage": true, "DataLabel": "sample string 12", "IsRequired": true, "MinimumValue": 1, "MaximumValue": 1, "NumberOfColumns": 1, "InputWidth": 1, "MinimumFormula": "sample string 14", "MaximumFormula": "sample string 15", "ShowTop": 16, "IsBalanced": true, "VideoQuestion": { "ChannelId": "sample string 1", "ApiKey": "sample string 2", "CaptureOptions": "sample string 3", "InterfaceLanguage": "sample string 4", "LanguageCode": "sample string 5", "MaximumWidth": 6, "MaximumLength": 7, "MinimumLength": 8, "AllowFileUpload": true, "IsVideoQuestionRequired": true }, "MaxDiffQuestion": { "LayoutId": 1, "SetCount": 1, "AttributesPerSet": 2, "EstimatedSampleSizeId": 1 }, "CardSortQuestion": { "CategoryOrder": 1, "CardOrder": 2, "ShowInstructionalPopup": true, "InstructionalLink": [ { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ], "InstructionalText": [ { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" }, { "AnswerChoiceId": 1, "LanguageCode": "sample string 2", "DisplayLabel": "sample string 3" } ] }, "ConjointQuestion": { "Attributes": [ { "translations": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ], "displayorder": 1, "IsPriceAttribute": true, "AttributeType": 1, "levels": [ { "displayorder": 1, "translations": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ] }, { "displayorder": 1, "translations": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ] } ] }, { "translations": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ], "displayorder": 1, "IsPriceAttribute": true, "AttributeType": 1, "levels": [ { "displayorder": 1, "translations": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ] }, { "displayorder": 1, "translations": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ] } ] } ], "CardCount": 1, "ConceptsPerCard": 2, "ShowInstructionalPopup": true, "InstructionalLink": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ], "InstructionalText": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ], "IsNotApplicable": true, "NotApplicableOptions": [ { "languagecode": "sample string 1", "translation": "sample string 2" }, { "languagecode": "sample string 1", "translation": "sample string 2" } ], "Prohibitions": [ { "DisplayOrder": 1, "AttributeDisplayOrder": 2, "ProhibitedAttributeDisplayOrder": 3, "LevelPairs": [ { "LevelDisplayOrder": 1, "ProhibitedLevelDisplayOrder": 2 }, { "LevelDisplayOrder": 1, "ProhibitedLevelDisplayOrder": 2 } ] }, { "DisplayOrder": 1, "AttributeDisplayOrder": 2, "ProhibitedAttributeDisplayOrder": 3, "LevelPairs": [ { "LevelDisplayOrder": 1, "ProhibitedLevelDisplayOrder": 2 }, { "LevelDisplayOrder": 1, "ProhibitedLevelDisplayOrder": 2 } ] } ] } }
<QuestionInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <QuestionTypeId>TextMedia</QuestionTypeId> <ExtractQuestionId>5</ExtractQuestionId> <QuestionStrings> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> </QuestionStrings> <Groups> <AnswerChoiceGroup> <GroupId>1</GroupId> <IsFixedPosition>true</IsFixedPosition> <ShowTop>3</ShowTop> <DisplayLabel>sample string 4</DisplayLabel> <IsBalanced>true</IsBalanced> </AnswerChoiceGroup> <AnswerChoiceGroup> <GroupId>1</GroupId> <IsFixedPosition>true</IsFixedPosition> <ShowTop>3</ShowTop> <DisplayLabel>sample string 4</DisplayLabel> <IsBalanced>true</IsBalanced> </AnswerChoiceGroup> </Groups> <AnswerChoices> <AnswerChoice> <AnswerChoiceStrings> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> </AnswerChoiceStrings> <DisplayOrder>2</DisplayOrder> <IsOther>true</IsOther> <IsNotApplicable>true</IsNotApplicable> <PointValue>1</PointValue> <PrefillTypeId>sample string 5</PrefillTypeId> <PrefillValue>sample string 6</PrefillValue> <ScaleValue>1</ScaleValue> <DisplayLogic>sample string 7</DisplayLogic> <IsFixedPosition>true</IsFixedPosition> <GroupId>1</GroupId> </AnswerChoice> <AnswerChoice> <AnswerChoiceStrings> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> </AnswerChoiceStrings> <DisplayOrder>2</DisplayOrder> <IsOther>true</IsOther> <IsNotApplicable>true</IsNotApplicable> <PointValue>1</PointValue> <PrefillTypeId>sample string 5</PrefillTypeId> <PrefillValue>sample string 6</PrefillValue> <ScaleValue>1</ScaleValue> <DisplayLogic>sample string 7</DisplayLogic> <IsFixedPosition>true</IsFixedPosition> <GroupId>1</GroupId> </AnswerChoice> </AnswerChoices> <SubQuestionGroups> <AnswerChoiceGroup> <GroupId>1</GroupId> <IsFixedPosition>true</IsFixedPosition> <ShowTop>3</ShowTop> <DisplayLabel>sample string 4</DisplayLabel> <IsBalanced>true</IsBalanced> </AnswerChoiceGroup> <AnswerChoiceGroup> <GroupId>1</GroupId> <IsFixedPosition>true</IsFixedPosition> <ShowTop>3</ShowTop> <DisplayLabel>sample string 4</DisplayLabel> <IsBalanced>true</IsBalanced> </AnswerChoiceGroup> </SubQuestionGroups> <SubQuestions> <SubQuestion> <QuestionId>1</QuestionId> <ParentQuestionId>2</ParentQuestionId> <QuestionStrings> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> </QuestionStrings> <DisplayLogic>sample string 3</DisplayLogic> <DisplayOrder>4</DisplayOrder> <DataLabel>sample string 5</DataLabel> <IsOther>true</IsOther> <GroupId>1</GroupId> <IsFixedPosition>true</IsFixedPosition> <IsNotApplicable>true</IsNotApplicable> </SubQuestion> <SubQuestion> <QuestionId>1</QuestionId> <ParentQuestionId>2</ParentQuestionId> <QuestionStrings> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> </QuestionStrings> <DisplayLogic>sample string 3</DisplayLogic> <DisplayOrder>4</DisplayOrder> <DataLabel>sample string 5</DataLabel> <IsOther>true</IsOther> <GroupId>1</GroupId> <IsFixedPosition>true</IsFixedPosition> <IsNotApplicable>true</IsNotApplicable> </SubQuestion> </SubQuestions> <SubQuestionShowTop>6</SubQuestionShowTop> <SubQuestionIsBalanced>true</SubQuestionIsBalanced> <SecondaryQuestion> <QuestionId>1</QuestionId> <QuestionTypeId>TextMedia</QuestionTypeId> <QuestionStrings> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> <QuestionString> <QuestionId>1</QuestionId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </QuestionString> </QuestionStrings> <AnswerChoices> <SecondaryAnswerChoice> <AnswerChoiceId>1</AnswerChoiceId> <AnswerChoiceStrings> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> </AnswerChoiceStrings> <DisplayOrder>2</DisplayOrder> <IsNotApplicable>true</IsNotApplicable> </SecondaryAnswerChoice> <SecondaryAnswerChoice> <AnswerChoiceId>1</AnswerChoiceId> <AnswerChoiceStrings> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> </AnswerChoiceStrings> <DisplayOrder>2</DisplayOrder> <IsNotApplicable>true</IsNotApplicable> </SecondaryAnswerChoice> </AnswerChoices> </SecondaryQuestion> <DisplayLogic>sample string 8</DisplayLogic> <PageNumber>9</PageNumber> <DisplayOrder>10</DisplayOrder> <IsPrefillAddAnswerChoice>true</IsPrefillAddAnswerChoice> <IsPostfillAddAnswerChoice>true</IsPostfillAddAnswerChoice> <IsNewPage>true</IsNewPage> <DataLabel>sample string 12</DataLabel> <IsRequired>true</IsRequired> <MinimumValue>1</MinimumValue> <MaximumValue>1</MaximumValue> <NumberOfColumns>1</NumberOfColumns> <InputWidth>1</InputWidth> <MinimumFormula>sample string 14</MinimumFormula> <MaximumFormula>sample string 15</MaximumFormula> <ShowTop>16</ShowTop> <IsBalanced>true</IsBalanced> <VideoQuestion> <ChannelId>sample string 1</ChannelId> <ApiKey>sample string 2</ApiKey> <CaptureOptions>sample string 3</CaptureOptions> <InterfaceLanguage>sample string 4</InterfaceLanguage> <LanguageCode>sample string 5</LanguageCode> <MaximumWidth>6</MaximumWidth> <MaximumLength>7</MaximumLength> <MinimumLength>8</MinimumLength> <AllowFileUpload>true</AllowFileUpload> <IsVideoQuestionRequired>true</IsVideoQuestionRequired> </VideoQuestion> <MaxDiffQuestion> <LayoutId>BestAttributeWorst</LayoutId> <SetCount>1</SetCount> <AttributesPerSet>2</AttributesPerSet> <EstimatedSampleSizeId>LessThan150</EstimatedSampleSizeId> </MaxDiffQuestion> <CardSortQuestion> <CategoryOrder>1</CategoryOrder> <CardOrder>2</CardOrder> <ShowInstructionalPopup>true</ShowInstructionalPopup> <InstructionalLink> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> </InstructionalLink> <InstructionalText> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> <AnswerChoiceString> <AnswerChoiceId>1</AnswerChoiceId> <LanguageCode>sample string 2</LanguageCode> <DisplayLabel>sample string 3</DisplayLabel> </AnswerChoiceString> </InstructionalText> </CardSortQuestion> <ConjointQuestion> <Attributes> <ConjointQuestionAttribute> <translations> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </translations> <displayorder>1</displayorder> <IsPriceAttribute>true</IsPriceAttribute> <AttributeType>1</AttributeType> <levels> <ConjointQuestionLevel> <displayorder>1</displayorder> <translations> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </translations> </ConjointQuestionLevel> <ConjointQuestionLevel> <displayorder>1</displayorder> <translations> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </translations> </ConjointQuestionLevel> </levels> </ConjointQuestionAttribute> <ConjointQuestionAttribute> <translations> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </translations> <displayorder>1</displayorder> <IsPriceAttribute>true</IsPriceAttribute> <AttributeType>1</AttributeType> <levels> <ConjointQuestionLevel> <displayorder>1</displayorder> <translations> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </translations> </ConjointQuestionLevel> <ConjointQuestionLevel> <displayorder>1</displayorder> <translations> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </translations> </ConjointQuestionLevel> </levels> </ConjointQuestionAttribute> </Attributes> <CardCount>1</CardCount> <ConceptsPerCard>2</ConceptsPerCard> <ShowInstructionalPopup>true</ShowInstructionalPopup> <InstructionalLink> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </InstructionalLink> <InstructionalText> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </InstructionalText> <IsNotApplicable>true</IsNotApplicable> <NotApplicableOptions> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> <ConjointTranslation> <languagecode>sample string 1</languagecode> <translation>sample string 2</translation> </ConjointTranslation> </NotApplicableOptions> <Prohibitions> <Prohibitions> <DisplayOrder>1</DisplayOrder> <AttributeDisplayOrder>2</AttributeDisplayOrder> <ProhibitedAttributeDisplayOrder>3</ProhibitedAttributeDisplayOrder> <LevelPairs> <ProhibitionLevelPairs> <LevelDisplayOrder>1</LevelDisplayOrder> <ProhibitedLevelDisplayOrder>2</ProhibitedLevelDisplayOrder> </ProhibitionLevelPairs> <ProhibitionLevelPairs> <LevelDisplayOrder>1</LevelDisplayOrder> <ProhibitedLevelDisplayOrder>2</ProhibitedLevelDisplayOrder> </ProhibitionLevelPairs> </LevelPairs> </Prohibitions> <Prohibitions> <DisplayOrder>1</DisplayOrder> <AttributeDisplayOrder>2</AttributeDisplayOrder> <ProhibitedAttributeDisplayOrder>3</ProhibitedAttributeDisplayOrder> <LevelPairs> <ProhibitionLevelPairs> <LevelDisplayOrder>1</LevelDisplayOrder> <ProhibitedLevelDisplayOrder>2</ProhibitedLevelDisplayOrder> </ProhibitionLevelPairs> <ProhibitionLevelPairs> <LevelDisplayOrder>1</LevelDisplayOrder> <ProhibitedLevelDisplayOrder>2</ProhibitedLevelDisplayOrder> </ProhibitionLevelPairs> </LevelPairs> </Prohibitions> </Prohibitions> </ConjointQuestion> </QuestionInsert>
Returns status message if the creation was successful or not.
Name | Description | Type | Additional information |
---|---|---|---|
Meta
The metadata such as paging parameters, status code, timestamp,... which are related to this request.
Type
MetaData
|
|||
Meta |
The metadata such as paging parameters, status code, timestamp,... which are related to this request. |
MetaData | |
Data |
The actual data returned by the request. |
SurveyQuestionUpsertResult | |
Links |
HATEOAS related to this object. It wil contain relevant url's such as previous and next page for paged results, create/update/delete action. These url's can be used in your application for the next steps in your application logic. |
Hateoas |
{ "Meta": { "Status": 1, "TotalRowCount": 1, "Limit": 1, "Offset": 1, "TotalPageCount": 1, "StartRec": 1, "StopRec": 1, "Timestamp": "2024-12-12T21:06:03.8951786Z", "IsFiltered": true }, "Data": { "Succeeded": true, "FailureMessage": "sample string 2" } }
<Payload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <Data> <FailureMessage>sample string 2</FailureMessage> <Succeeded>true</Succeeded> </Data> <Meta> <IsFiltered>true</IsFiltered> <Limit>1</Limit> <Offset>1</Offset> <StartRec>1</StartRec> <Status>1</Status> <StopRec>1</StopRec> <Timestamp>2024-12-12T21:06:03.8951786+00:00</Timestamp> <TotalPageCount>1</TotalPageCount> <TotalRowCount>1</TotalRowCount> </Meta> </Payload>