List appointment openings for a date interval
List appointment openings for each calendar date in the requested interval. Dates with no openings, including closed days, appear with empty openings.
Existing callers may provide duration to receive deployed regular-hours
openings. New booking callers provide serviceIds; the server derives
the duration and current service terms and returns legacy regular
openings, exact regularOffers, and disjoint offHoursQuotes. When both
are included, serviceIds is authoritative: the server ignores duration
rather than validating it against the derived service duration.
Query Parameters
Limit openings to this specific location. 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.
When included, limit openings to this specific barber. 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.
Calculate legacy regular openings for this appointment duration.
Required when serviceIds is absent. Ignored when serviceIds is
present because the server derives duration from current service
terms.
Select the services for server-derived regular opening offers and off-hours quotes. The server owns their price, duration, eligibility, exact occurrence, and availability; callers provide identifiers only.
1 - 25 elementsThe 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.
Limit openings to the calendar dates in this range. The range
names both its start and end dates and covers at most 31 calendar
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.
Appointment openings grouped by calendar date over a requested interval. Every date in the interval appears exactly once; a date with no openings has an empty openings list and a count of zero.
One entry per calendar date in the requested interval.
The number of dates in the interval. This is derived and immutable.
x >= 0The shop location for the appointment openings.
The barber for the appointment openings.
The furthest calendar date a client may book, based on the barber's advance booking window. When absent, booking is not limited by an advance window.
^\d{4}-\d{2}-\d{2}$