Find available dates
find_available_datesRetrieve dates when a service has available resources between two times. Read-only query; use interval search for start times.
Instructions
Dates on which a service has availability between two dates/times, with the resources free on each. This is a query sent as POST /availability/days/search; it changes nothing. Use find_available_intervals for the start times within a date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End of the range to search (ISO 8601), after from | |
| from | Yes | Start of the range to search (ISO 8601) | |
| parts | No | Parts of the potential booking (block = booked time, free = gap); when given, duration is ignored. Omit to use the service's own duration or parts | |
| spaces | No | Spaces required (excludes group bookings with fewer spaces left); the API defaults to 1 | |
| buffers | No | Minutes before/after a potential booking that must be free; omit to use the service's buffers | |
| duration | No | Minutes that must be free from the start of an interval; omit to use the service's default duration | |
| timezone | No | IANA timezone to return the results in; the API defaults to Europe/London | |
| service_id | Yes | Service ID (24 hexadecimal characters) | |
| max_results | No | Maximum number of intervals to return | |
| resource_ids | No | Only these resources; omit for every resource assigned to the service | |
| ignore_bookings | No | Booking IDs to ignore for this search (they neither block availability nor count as available group bookings) | |
| resource_group_id | No | Only resources in this resource group (the API's resource_group_ids field, which its spec types as a single string). Not with resource_ids | |
| ignore_group_setting | No | Return group bookings with space even if online group bookings are off | |
| ignore_past_restriction | No | Do not exclude times before now | |
| ignore_service_schedule | No | Ignore the service's schedule | |
| ignore_notice_restriction | No | Ignore the organisation's and service's notice-period settings | |
| ignore_service_assignment | No | Do not fail when a resource is not assigned to the service |