Get a barber's availability
Get a barber’s resolved availability for every date in a range. Each date resolves the barber’s weekly schedule and any overrides into its working blocks, breaks, off-hours window, and state.
The barber can book any time on any date, including closed dates and outside working hours. The state and working blocks describe the shape of the day; they do not limit what the barber can book. Availability is resolved at read time and can change as appointments are booked, so the authoritative check happens when an appointment is created.
Path Parameters
The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.
Query Parameters
The calendar dates to resolve availability for. The range names both
its start and end dates and covers at most 42 dates.
A date range, supporting inclusive or exclusive endpoints.
Dates ranges use dates expressed in YYYY-MM-DD RFC 3339
date format.
The value may have the following forms:
YYYY-MM-DDmatch the date exactly; equivalent to matching dates in the range[YYYY-MM-DD,YYYY-MM-DD][YYYY-MM-DD,YYYY-MM-DD]between two dates, inclusive of the endpoints(YYYY-MM-DD,YYYY-MM-DD)between two dates, exclusive of the endpoints[YYYY-MM-DD,]on or after the date(YYYY-MM-DD,)after the date[,YYYY-MM-DD]before or on the date(,YYYY-MM-DD)before the date
Examples:
- '2022-05-19'
- '[2022-05-01,2022-05-31]'
- '[2022-05-01,2022-06-01)'
- '[2022-05-19,]'
- '(2022-05-19,)'
- '[,2022-05-19]'
- '(,2022-05-19)'.
24^(\d{4}-\d{2}-\d{2}|[\[(](\d{4}-\d{2}-\d{2},(\d{4}-\d{2}-\d{2})?|,\d{4}-\d{2}-\d{2})[)\]])$Response
Ok. The operation succeeded.
A barber's resolved availability across a range of calendar dates.
The resolved availability for each date in the requested range, in ascending date order.