Find available appointment times
halaxy_find_available_appointmentsFind free appointment times between start and end for a given duration, respecting each practitioner's online booking preferences (buffer time, lead time, advance booking limit). Narrow it with practitioner, practitioner_role or organization. GET /main/Appointment/$find.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End of the search window, e.g. 2027-01-12T23:59:59. | |
| show | No | first-available = only the first available time. | |
| sort | No | start or -start. | |
| start | Yes | Start of the search window, e.g. 2027-01-12T00:00:00. | |
| duration | Yes | Appointment length in minutes. | |
| emergency | No | true ignores lead time, to show all times for emergency appointments. | |
| organization | No | Organization (clinic) id. | |
| practitioner | No | Practitioner id. | |
| apply_buffer_time | No | true applies buffer time to show all available times. | |
| practitioner_role | No | PractitionerRole id. |