v1
latestSwagger 2.02026-07-141993129.2 KBGets a list of blocks.
With this endpoint you can request a list of blocks for the hotel chain. Currently we only support to optionally filter by the group code linked to the block. Additional filters will be available soon.
Query parameters
Only return blocks for this specific hotel.
Filter the blocks by the specified group code
Return all blocks where the block's last_departure is greater than specified date.
Return all blocks where the block's last_departure is less than specified date.
Return all blocks where the block status is one of the specified values.
Return all blocks that have related the specified comma-separated rate plans.
If true it will include also details of block count per each room type.
Amount of items to skip.
Amount of items to select.
Return total number of items for a given filter criteria.
Headers
Application identifier
Application key.
Request body
Response
Returns a list of blocks matching the provided filter criteria.