getTimeSlots( )


開発者プレビュー

このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。

Returns a list of time slots at a given restaurant on a given date, and their availability for a given partySize.

Without passing optional parameters, the list will contain a single time slot at the given date. Use slotsBefore そして slotsAfter to get additional time slots before and after the given date.

If you do not provide a duration, the duration will be calculated automatically based on the reservation location's configuration. The reservation location's settings used to determine the duration are its defaultTurnoverTime そして turnoverTimeRules. These specify how much time should be allotted for a reservation of a party of a given size.

について startDates of time slots in the response are 15 minutes apart regardless of the duration provided.

Permissions
Manage Reservations (Basic)
Manage Reservations (Full)
Manage Reservations (Medium)
Manage Restaurants - all permissions
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
reservationLocationIdstringRequired

ID of the reservation location for which to retrieve time slots.


dateDateRequired

Date and time for which to retrieve a time slot in ISO 8601 format.


partySizenumberRequired

Size of the party that needs to be seated during this time slot.

Min: 1


optionsGetTimeSlotsOptions

Options for retrieving the time slots.

リターン
Return Type:Promise<GetTimeSlotsResponse>
役に立ちましたか?
はい
いいえ