Question
defaultSubQuestionsobject[]
List of recursive questions from "questionnaire"
descriptionstring
Description of the question
Example:
Shipment readiness
freeTextAnswerstring
Free text answer for the question
Example:
Not good but acceptable
idstringrequired
Unique identifier of a question
Example:
abc-123
options object[]
questionTypestringrequired
Question type e.g single select, multiple select
Example:
single select
responseIdstring
Unique identifier of a response
Example:
1a2b3c
validation object
Question
{
"defaultSubQuestions": [
{}
],
"description": "Shipment readiness",
"freeTextAnswer": "Not good but acceptable",
"id": "abc-123",
"options": [
{
"id": "string",
"otherOptionText": "Acceptable",
"questions": [
{}
],
"selected": "true",
"text": "Yes"
}
],
"questionType": "single select",
"responseId": "1a2b3c",
"validation": {
"mandatory": "true"
}
}