Admin

Add an option to a question

post/api/admin/questionnaire/questions/{id}/options

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/questionnaire/questions/{id}/options
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

optionTextstring required
optionValuestring
displayOrdernumber

Example request

{
  "optionText": "Gastric Sleeve",
  "optionValue": "gastric_sleeve",
  "displayOrder": 1
}

Changes

No recorded changes to this operation across all 34 revisions of this API.