mc
questionIdquestionId (string)required
The question id
Possible values: Value must match regular expression QID\d+
Example:
QID1typesupportedQuestionTypes (string)required
The question type
Possible values: [db, mc, te]
displayquestionText (string)required
The question text
Example:
Click here to write the question textchoices object[]
Array [
choiceIdmcChoiceId (string)
Possible values: Value must match regular expression \d+
Example:
1displaychoiceText (string)
Example:
Click to write Choice 1textualisTextual (boolean)
Does this choice allow a text response? Typically used for "Other" type choices
]
options object
columnLabelsstring[]required
Example:
["Disagree","Neutral","Agree"]multiSelectmultiSelect (boolean)required
Distinguish between single answer (false) and multiple answer (true) (radio buttons vs checkbox).
mc
{
"questionId": "QID1",
"type": "db",
"display": "Click here to write the question text",
"choices": [
{
"choiceId": "1",
"display": "Click to write Choice 1",
"textual": true
}
],
"options": {
"columnLabels": [
"Disagree",
"Neutral",
"Agree"
],
"multiSelect": true
}
}