List appointments
feegow_list_appointmentsAppointments in a date range (or one appointment by id), filtered by professional, patient, unit, location, specialty, channel, procedure or status. Paged: pass the previous reply's next_start. Health data: contains patient ids. GET /appoints/search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Position of the first row (default 0). Use next_start from the previous reply. | |
| date_to | No | Last day, yyyy-mm-dd. Required unless appointment_id is given. | |
| unit_id | No | Unit (branch) id. 0 = the main clinic (matriz). Omit for all units where the endpoint allows it. See feegow_list_units. | |
| date_from | No | First day, yyyy-mm-dd. Required unless appointment_id is given. | |
| is_return | No | true = only return visits (retorno). | |
| page_size | No | Rows per page, 1-200 (default 50). | |
| channel_id | No | Booking channel id (feegow_list_booking_channels). | |
| patient_id | No | ||
| status_ids | No | Only these statuses (feegow_list_appointment_statuses), e.g. [1, 7] for booked. | |
| location_id | No | ||
| procedure_id | No | ||
| specialty_id | No | ||
| appointment_id | No | One appointment id; then the dates are optional. | |
| professional_id | No |