GET Cancelled Appointments
Header Parameters
(Required)
Query Parameters
The unique identifier for a patient in the database. When supplied, no default date window applies.
The unique identifier for a practitioner. Use -1 to return data for all practitioners.
The unique identifier for a practice location. Use -1 to return data for all locations.
The unique identifier for an appointment book. Appointment books represent schedulable resources (practitioners, rooms, equipment). Use -1 for all books.
Start date for the date range filter. Format: YYYY-MM-DD (e.g., 2026-01-01). See Important Notes for default behaviour.
End date for the date range filter. Format: YYYY-MM-DD (e.g., 2026-12-31). See Important Notes for default behaviour.
Controls date filtering behaviour. 0 (default) = filter by appointment date. 1 = filter by cancellation date.
Page number for paginated results (1-indexed). Default: 1.
Number of records per page. Default: 10. Maximum: 500.
Comma-separated list of related resources to embed in the response. Available values vary by endpoint. Example: practitioners,locations.
practitionerslocationsappt_bookspractitioners,locationspractitioners,appt_bookslocations,appt_bookspractitioners,locations,appt_booksResponse
{ "status": true, "message": "Success", "data": [ { "appointment_id": 45670, "appointment_date": "2026-02-20", "appointment_time": "14:30:00", "appointment_duration": 30, "patient_id": 12340, "practitioner_id": 42, "location_id": 1, "appt_book_id": 3, "cancel_date": "2026-02-18", "cancel_type": "Cancelled", "cancel_reason_id": 1 }, { "appointment_id": 45671, "appointment_date": "2026-02-21", "appointment_time": "09:00:00", "appointment_duration": 60, "patient_id": 12341, "practitioner_id": 43, "location_id": 2, "appt_book_id": 5, "cancel_date": "2026-02-21", "cancel_type": "Failed", "cancel_reason_id": 1 } ], "pagination": { "page": 1, "per_page": 10, "total_rows": 2, "total_pages": 1 } }
Response Attributes
Show child attributes
Show child attributes
{ "detail": [ { "loc": ["query", "from_date"], "msg": "Invalid date format. Expected YYYY-MM-DD.", "type": "value_error" } ] }