Skip to main content

BlockAvailabilityInputDto

Properties

NameTypeRequiredDescription
HotelIdsList<long>Hotel ID(s) to check availability for.
CheckinstringThe arrival date.
CheckoutstringThe departure date. Must be later than (checkin).
GuestCcstringGuest country code. Used to accurately display the best prices and price details for people from that country.
CurrencystringReturns the prices in this currency, in addition to the hotel currency.
ExtrasList<BlockAvailabilityInputDtoExtras>The extra items for this request. See the documentation for more details about each extra.
AffiliateIdstringApplication affiliate id
BlockIdsList<string>Return only availability hits with these particular block IDs
GuestIpstringGuest IP address for determining guest country and showing the best price for that user and obeying laws regarding the display of taxes and fees.
GuestQtyList<long>Number of guests for which blocks will be found. The total number of guests is used for calculating city tax charges. It is specified as an array of guest numbers. If you use this parameter and make bookings through the API, you should also set the exact same value in the guest_quantities parameter for the processBooking call, otherwise per-person included charges may result in pricing problems, causing the booking to fail. NOTE: After version 2.6 either this or room1 needs to be provided.
LanguageBlockAvailabilityInputDtoLanguageSpecify the language for: block_id, policies, room texts and hotel descriptions. Note: not all text is translated in all languages. Please check the "Possible Values" section of the documentation for the accepted language codes.
NumRoomslongTakes a number of rooms to put guests into
Room1List<string>Which guests to put in which rooms. Syntax: comma-separated list, A for each adult, a number in the range 0..17 for each child.
UserPlatformBlockAvailabilityInputDtoUserPlatformThe user's platform.

BlockAvailabilityInputDtoExtras

The extra items for this request. See the documentation for more details about each extra.

Properties

NameTypeRequiredDescription
AddonTypestring"ADDON_TYPE"
NetPricestring"NET_PRICE"
RackRatesstring"RACK_RATES"
MaxRoomsInReservationstring"MAX_ROOMS_IN_RESERVATION"
SmokingStatusstring"SMOKING_STATUS"
ImportantInformationstring"IMPORTANT_INFORMATION"
AllExtraChargesstring"ALL_EXTRA_CHARGES"
AdditionalRoomInfostring"ADDITIONAL_ROOM_INFO"
GroupRecommendationsstring"GROUP_RECOMMENDATIONS"
RoomTypeIdstring"ROOM_TYPE_ID"
CcRequiredstring"CC_REQUIRED"
ShowConditionalChargesstring"SHOW_CONDITIONAL_CHARGES"
PostcardPhotostring"POSTCARD_PHOTO"
ExtraChargesstring"EXTRA_CHARGES"
Photosstring"PHOTOS"
Internetstring"INTERNET"
IfDomesticNoCcstring"IF_DOMESTIC_NO_CC"
Facilitiesstring"FACILITIES"
ExtraBedsstring"EXTRA_BEDS"
CancellationInfostring"CANCELLATION_INFO"
Mealplansstring"MEALPLANS"
DealLastmstring"DEAL_LASTM"
PaymentTermsstring"PAYMENT_TERMS"
AllPricesstring"ALL_PRICES"
BlockPaymentOptionsstring"BLOCK_PAYMENT_OPTIONS"
MaxChildrenFreeAgestring"MAX_CHILDREN_FREE_AGE"
NumberOfRoomsLeftstring"NUMBER_OF_ROOMS_LEFT"
MaxChildrenFreestring"MAX_CHILDREN_FREE"
Policiesstring"POLICIES"
PrepaymentInfostring"PREPAYMENT_INFO"
DealFlashstring"DEAL_FLASH"
IfNoCcAllowedstring"IF_NO_CC_ALLOWED"
DealSmartstring"DEAL_SMART"
Addonsstring"ADDONS"
AddressRequiredstring"ADDRESS_REQUIRED"

BlockAvailabilityInputDtoLanguage

Specify the language for: block_id, policies, room texts and hotel descriptions. Note: not all text is translated in all languages. Please check the "Possible Values" section of the documentation for the accepted language codes.

Properties

NameTypeRequiredDescription
Arstring"AR"
Bgstring"BG"
Castring"CA"
Csstring"CS"
Dastring"DA"
Destring"DE"
Elstring"EL"
Enstring"EN"
EnGbstring"EN_GB"
EnUsstring"EN_US"
Esstring"ES"
EsArstring"ES_AR"
EsMxstring"ES_MX"
Etstring"ET"
Fistring"FI"
Frstring"FR"
Hestring"HE"
Histring"HI"
Hrstring"HR"
Hustring"HU"
Idstring"ID"
Is_string"IS"
Itstring"IT"
Jastring"JA"
Kastring"KA"
Kostring"KO"
Ltstring"LT"
Lvstring"LV"
Msstring"MS"
Nlstring"NL"
Nostring"NO"
Plstring"PL"
PtBrstring"PT_BR"
PtPtstring"PT_PT"
Rostring"RO"
Rustring"RU"
Skstring"SK"
Slstring"SL"
Srstring"SR"
Svstring"SV"
Thstring"TH"
Tlstring"TL"
Trstring"TR"
Ukstring"UK"
Vistring"VI"
ZhCnstring"ZH_CN"
ZhTwstring"ZH_TW"

BlockAvailabilityInputDtoUserPlatform

The user's platform.

Properties

NameTypeRequiredDescription
Androidstring"ANDROID"
Desktopstring"DESKTOP"
Iosstring"IOS"
Mobilestring"MOBILE"
Tabletstring"TABLET"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →