Clinician
Profile
Index

New Clinician Profile

Creates a new clinician profile with their personal information, medical credentials, specialties, and availability schedule.

Overview

  • Method: POST
  • Path: /clinician/profile
  • Tags: clinician

Parameters

No parameters required.

Request Body

  • Content Type: application/json
  • Required: Yes
  • Schema: Defined

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "licenseNumber": {
      "type": "string"
    },
    "specialties": {
      "type": "string"
    },
    "credentials": {
      "type": "string"
    },
    "availability": {
      "type": "string"
    },
    "workingHours": {
      "type": "string"
    },
    "end": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "firstName",
    "lastName",
    "email",
    "licenseNumber",
    "specialties",
    "credentials",
    "availability",
    "workingHours",
    "end"
  ]
}

400

Bad Request

Content Type: application/json

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

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  http://localhost:9000/clinician/profile \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'

Interactive Testing

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