# List all bookable rooms at a property

This endpoint is where you find a list of all bookable or available rooms at a property.
A room can have multiple blocks, as a block is a combination of the meal, cancellation policy, occupancy and other things.
You can find detailed information about one hotel per search (detail_level)
which will return most of the information needed to replicate the booking.com property page.

If you want to search multiple hotels, you can, but you get less detail.
For searching multiple hotels, it is recommended to use hotelAvailability.

Endpoint: GET /demand-api-v2-compatible/blockAvailability
Version: 1.1
Security: BearerAuth

## Query parameters:

  - `blockInput` (object, required)

## Header parameters:

  - `Accept` (string)
    Enum: "application/json, application/xml"

## Response 200 fields (application/json):

  - `meta` (object)

  - `meta.ruid` (string)

  - `result` (array)

  - `result.block` (array)
    The object containing all the relevant information for the combination of room, policy, meal and occupancy that determines the price."
A block is the unique entity you book with booking.com.

  - `result.block.block_id` (string)

  - `result.block.breakfast_included` (boolean)

  - `result.can_pay_now` (boolean)
    Boolean value set to "true" if payment can be made during reservation process or "false" if it can not.

  - `result.checkin` (string)
    The date that was searched for as checkin. Format: YYYY-MM-DD

  - `result.checkout` (string)
    The date that was searched for as checkout. Format: YYYY-MM-DD

  - `result.direct_payment` (boolean)
    Boolean value set to "true" if the direct payment is available or "false" if it is not.

  - `result.hotel_id` (integer)
    Booking.com hotel ID. The unique identifier of this hotel.

  - `result.hotel_url` (string)
    URL of the hotel's page on Booking.com.
    Example: "https://www.booking.com/hotel/nl/toren.html"

  - `result.flash_deal` (boolean)


