Skip to main content
GET
/
doctor
/
consultations
/
{crm}
Get Doctor Consultations
curl --request GET \
  --url https://api.example.com/doctor/consultations/{crm}
{
  "[]": [
    {}
  ],
  "200 OK (Empty Array)": {},
  "404 Not Found": {}
}
Retrieve all consultation dates/times scheduled for a specific doctor.

Path Parameters

crm
string
required
The CRM number of the doctor whose consultations you want to retrieve.

Response

Returns an array of consultation date/time values.
[]
array
Array of ISO 8601 formatted date-time strings representing scheduled consultation times.

Example Request

curl -X GET http://localhost:8080/doctor/consultations/123456789

Example Response

[
  "2026-03-10T09:00:00",
  "2026-03-10T10:30:00",
  "2026-03-11T14:00:00",
  "2026-03-12T15:30:00"
]

Example Response (No Consultations)

[]

Error Responses

200 OK (Empty Array)
success
Doctor exists but has no scheduled consultations. Returns an empty array [].
404 Not Found
error
Doctor with the specified CRM number not found (implementation dependent).

Build docs developers (and LLMs) love