List Time Slots
GET
/venues/{venueId}/timeslots
Generates a list of possible time slots for the given guestCount and date. This list represents TimeSlots for which it might be possible to create a Booking.
Important
TimeSlotsare not static, but rather generated based onVenueconfiguration. If the configuration changes then the list can look completely different. Treat it as a realtime result for which aBookingcan be placed right now. Once aBookinghas been placed it is holding capacity at theVenue, it is not reserving aTimeSlot.
Authorizations
OAuth2
clientCredentials Flow
Token URL
"https://login.microsoftonline.com/{issuer}/oauth2/v2.0/token"Scopes:
or
X-API-KEY
Is made available as part of the onboading/integration process.
Type
API Key (header: X-API-KEY)
Parameters
Header Parameters
X-API-KEY*
Client-specific key.
Type
Requiredstring
Query Parameters
date*
Date in ISO-8601 format YYYY-MM-DD.
Type
Requiredstring
Example
"2023-01-15"Format
"date"guestCount*
Number of guests.
Type
Requiredinteger
Example
2timeFrom
Filters result from a specific time of day.
Type
string
Example
"07:15:00"Format
"time"timeTo
Filters result to a specific time of day.
Type
string
Example
"14:45:00"Format
"time"scenarioId
Filter response by scenarioId.
Type
string
Responses
Success
application/json
JSON
{
"data": [
{
"id": "RB8lCkhd0wpemL8+R5RhynjQq1VuNS3eDkdmUEaK3h26pm+Z0I1tIJQi9SHtVm+Y",
"scenarioId": 0,
"scenarioName": "Breakfast",
"timeFrom": "2022-12-31T10:30:00Z",
"timeTo": "2022-12-31T12:30:00Z",
"available": true,
"waitlistAvailable": true
}
]
}