Admin
Update a question
Changed onput/api/admin/questionnaire/questions/{id}
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/questionnaire/questions/{id}
- AuthHTTP bearer
Path parameters
idnumber required
Request body
Example request
{
"surveyId": 1,
"questionText": "Updated question text",
"questionKey": "updated_key",
"answerType": "multi_choice",
"minItems": 5,
"allowsCustomInput": true,
"section": 2,
"displayOrder": 5,
"isActive": true,
"conditionalOnQuestionId": 12,
"conditionalOnOptionIds": [
1,
2,
3
]
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info