Introduction to Dental API

Sections

Theme switcher

GET Cancelled Appointments

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Acceptstring

Query Parameters

patient_idinteger

The unique identifier for a patient in the database. When supplied, no default date window applies.

practitioner_idinteger

The unique identifier for a practitioner. Use -1 to return data for all practitioners.

location_idinteger

The unique identifier for a practice location. Use -1 to return data for all locations.

appt_book_idinteger

The unique identifier for an appointment book. Appointment books represent schedulable resources (practitioners, rooms, equipment). Use -1 for all books.

from_datestring

Start date for the date range filter. Format: YYYY-MM-DD (e.g., 2026-01-01). See Important Notes for default behaviour.

to_datestring

End date for the date range filter. Format: YYYY-MM-DD (e.g., 2026-12-31). See Important Notes for default behaviour.

modeinteger

Controls date filtering behaviour. 0 (default) = filter by appointment date. 1 = filter by cancellation date.

pageinteger

Page number for paginated results (1-indexed). Default: 1.

Min length
1
per_pageinteger

Number of records per page. Default: 10. Maximum: 500.

includestring

Comma-separated list of related resources to embed in the response. Available values vary by endpoint. Example: practitioners,locations.

Enum values:
practitionerslocationsappt_bookspractitioners,locationspractitioners,appt_bookslocations,appt_bookspractitioners,locations,appt_books

Response

200
Object

{ "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

statusboolean
messagestring
dataarray
paginationobject
422
Object

{ "detail": [ { "loc": ["query", "from_date"], "msg": "Invalid date format. Expected YYYY-MM-DD.", "type": "value_error" } ] }

Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?