Availability blocks
Get availability blocks
Get details of the availability blocks for the given hotel. This operation can be called initially to fetch data which may be important during the booking workflow. Availability blocks can restrict your booking engine's calendar to specific intervals defined by StartUtc
and EndUtc
in the response, it also gives you RateId
that should be used.
Request
[ApiBaseUrl]/api/distributor/v1/availabilityBlocks/getAll
EnterpriseId
string
required
Unique identifier of the hotel (enterprise).
AvailabilityBlockIds
array of string
required
Set of unique identifiers of the Availability Blocks for which you want to get the details.
Response
Id
string
required
Provided ID of availability block.
Name
string
required
Name of availability block.
StartUtc
string
required
Availability block start date (validity start date) in ISO 8601 format.
EndUtc
string
required
Availability block end date (validity expiration date) in ISO 8601 format.
Last updated