🔐 Authentication
POST/apiauth/login
User login for admin and doctors
POST/apiauth/logout
User logout
👨⚕️ Doctors Management
GET/apidoctors
Get all doctors with filters
GET/apidoctors/{id}
Get doctor details by ID
POST/apidoctors
Create new doctor (Admin only)
PUT/apidoctors/{id}
Update doctor (Admin only)
DELETE/apidoctors/{id}
Delete doctor (Admin only)
📅 Appointments
POST/apiappointments
Create new appointment
GET/apiappointments/doctor/{id}
Get doctor's appointments
PUT/apiappointments/{id}/status
Update appointment status
DELETE/apiappointments/{id}
Cancel appointment
📍 Reference Data
GET/apilocations
Get all locations
GET/apispecialties
Get all specialties
GET/apiusers
Get users by role (Admin only)
📊 System Status
GET/health
Health check endpoint
GET/api-docs
Interactive API documentation
📋 Sample Credentials
Admin:
Email: admin@zaryansclinic.com
Password: admin123
Doctor:
Email: doctor@zaryansclinic.com
Password: password123