Retrieve all consultation dates/times scheduled for a specific doctor.
Path Parameters
The CRM number of the doctor whose consultations you want to retrieve.
Response
Returns an array of consultation date/time values.
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
Doctor exists but has no scheduled consultations. Returns an empty array [].
Doctor with the specified CRM number not found (implementation dependent).