Brand
Questionnaire
Questionnaireid

Questionnaire By Id

Retrieves a specific questionnaire with its questions and configuration. Used to display health assessment forms to customers.

Overview

  • Method: GET
  • Path: /brand/questionnaire/\{questionnaireId\}
  • Tags: brand

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "questions": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "type": {
      "type": "object"
    },
    "options": {
      "type": "string"
    },
    "required": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "title",
    "questions",
    "question",
    "type",
    "options",
    "required"
  ]
}

400

Bad Request

Content Type: application/json

{
  "$ref": "#/components/schemas/Error"
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/brand/questionnaire/{questionnaireId} \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).