Skip to main content

Practitioner

Practitioner API

GET /practitioner/

Returns all health practitioners of the institution

Response:

Code 200

{
"practitioner": [
{
"id": "8a7c3e1f-449b-4aa7-b2e3-6d987d0b52f1",
"name": "Dr. John Smith",
"specialty": "Cardiology",
"email": "john.smith@example.com",
"phone": "+1 123-456-7890",
"working_hours": "Mon-Fri: 9 AM - 5 PM",
"location": "Building A, 3rd Floor, Room 301",
"is_available": true
},
{
"id": "f084d8c7-cf1b-49b6-b51c-8500f2b1d362",
"name": "Dr. Emily Johnson",
"specialty": "Pediatrics",
"email": "emily.johnson@example.com",
"phone": "+1 987-654-3210",
"working_hours": "Mon, Wed, Fri: 8 AM - 1 PM",
"location": "Building B, 2nd Floor, Room 202",
"is_available": false
},
{
"id": "e55a8327-2f62-4d10-9ff6-1e8e32ebd33b",
"name": "Dr. Michael Brown",
"specialty": "Dermatology",
"email": "michael.brown@example.com",
"phone": "+1 555-123-4567",
"working_hours": "Tue, Thu: 10 AM - 6 PM",
"location": "Building C, 1st Floor, Room 101",
"is_available": true
}
]
}