Skip to content
Last updated

Facilities objects

A property can offer facilities such as restaurants and assorted amenities. The Booking.com Connectivity APIs store information about facilities in a FacilityInfo element. This page describes the elements and attributes in the FacilityInfo descendants tree.

Sample XML

The sample below is an excerpt and not a valid XML document.

<FacilityInfo>
   <GuestRooms>
     <GuestRoom>
       <Amenities>
         <Amenity RoomAmenityCode="91" Quantity="4" />
       </Amenities>
     </GuestRoom>
   </GuestRooms>
   <Restaurants>
     <Restaurant RestaurantName='Orient' OfferBreakfast='1' OfferDinner='1'>
       <CuisineCodes>
         <CuisineCode Code='1'/>
         <CuisineCode Code='5000'/>
       </CuisineCodes>
       <OperationSchedules>
         <OperationSchedule>
           <OperationTimes>
             <OperationTime Mon='1' Tue='1' Thur='1' Fri='1' Start='16:00' End='22:00' />
             <OperationTime Weds='1' Sun='1' Start='14:00' End='18:00' />
           </OperationTimes>
         </OperationSchedule>
       </OperationSchedules>
       <Features>
         <Feature DescriptiveText='a la carte'/>
         <Feature DescriptiveText='buffet'/>
         <Feature DescriptiveText='guests only'/>
         <Feature DescriptiveText='accepts reservations'/>
         <Feature DescriptiveText='outdoor seating'/>
       </Features>
       <TPA_Extensions>
         <Ambiances>
           <Ambiance Name='modern'/>
         </Ambiances>
         <DietaryOptions>
           <DietaryOption Name='halal'/>
           <DietaryOption Name='vegan'/>
         </DietaryOptions>
       </TPA_Extensions>
     </Restaurant>
   </Restaurants>
</FacilityInfo>

FacilityInfo

Contains details of a property's facilities. Child of HotelDescriptiveContent (see Related calls).

FieldDescriptionTypeRequiredNotes
GuestRooms-array of GuestRoomOptionalMay contain only one GuestRoom child.
Restaurants-array of RestaurantOptional-

GuestRoom

Contains details of a guest room at the property. Child of GuestRooms (see FacilityInfo).

FieldDescriptionTypeRequiredNotes
GuestRoom[@Quantity]-nonnegativeDeprecated-
Amenities-array of AmenityOptional-

Amenity

Contains details of an amenity at the property. Child of Amenities (see FacilityInfo).

Note

You can define amenities at property level or room level. For property level, use OTA_HotelDescriptiveContentNotif. For room level, use OTA_HotelInvNotif.

FieldDescriptionTypeRequiredNotes
Amenity[@RoomAmenityCode]The Room Amenity Type Code.IDOptionalAccepts the values listed under RMA.
Amenity[@Quantity]The number of amenities of this type that the property offers.nonnegativeOptional-
ContactInfoSee ContactInfo.objectOptional-

Restaurant

Contains details of a restaurant at the property. Child of Restaurants (see FacilityInfo).

FieldDescriptionTypeRequiredNotes
Restaurant[@RestaurantName]The name of the restaurant.stringOptional-
Restaurant[@OfferBreakfast]Specifies whether the restaurant offers breakfast.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
Restaurant[@OfferBrunch]Specifies whether the restaurant offers brunch.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
Restaurant[@OfferLunch]Specifies whether the restaurant offers lunch.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
Restaurant[@OfferDinner]Specifies whether the restaurant offers dinner.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
CuisineCodes-array of CuisineCodeOptional-
OperationSchedules-array of OperationScheduleOptional-
Features-array of FeatureOptional-
TPA_ExtensionsSee TPA_Extensions.objectOptional-

CuisineCode

Contains details of the type of food served at a property's restaurant. Child of CuisineCodes (see Restaurant).

FieldDescriptionTypeRequiredNotes
CuisineCode[@Code]The Main Cuisine Code for the type of cuisine.enumRequiredAccepts the values under CUI.

OperationSchedule

Contains operation schedule details of a property's restaurant. Child of OperationSchedules (see Restaurant).

FieldDescriptionTypeRequiredNotes
OperationTimes-array of OperationTimeOptional-

OperationTime

Contains operating hours of a property's restaurant. Child of OperationTimes (see OperationSchedule).

FieldDescriptionTypeRequiredNotes
OperationTime[@Start]The opening time of the restaurant.checkin_checkoutRequiredFormat: HH:MM
OperationTime[@End]The closing time of the restaurant.checkin_checkoutRequiredFormat: HH:MM
OperationTime[@Mon]Specifies whether the restaurant is open on Mondays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
OperationTime[@Tue]Specifies whether the restaurant is open on Tuesdays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
OperationTime[@Weds]Specifies whether the restaurant is open on Wednesdays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
OperationTime[@Thur]Specifies whether the restaurant is open on Thursdays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
OperationTime[@Fri]Specifies whether the restaurant is open on Fridays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
OperationTime[@Sat]Specifies whether the restaurant is open on Saturdays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0
OperationTime[@Sun]Specifies whether the restaurant is open on Sundays.extended_booleanOptionalAccepts: 1 (true), 0 (false). Default: 0

Feature

Specifies various features of a restaurant, such as whether it offers a buffet, and whether it only serves guests staying at the property. Child of Features (see Restaurant).

FieldDescriptionTypeRequiredNotes
Feature[@DescriptiveText]The type of feature.enumOptionalAccepts: a la carte, buffet, guests only, accepts reservations, outdoor seating. Default: empty

@DescriptiveText

The Feature attribute @DescriptiveText accepts the following values. Each value corresponds with a similarly named setting on the Facilities & Services page on our extranet. Some options appear only when the Restaurant check box is selected.

ValueDescription
a la carteThe restaurant offers à la carte dining.
buffetThe restaurant has a buffet.
guests onlyThe restaurant only serves guests of the property.
accepts reservationsCustomers can reserve a table at the restaurant.
outdoor seatingThe restaurant offers outdoor seating.

TPA_Extensions

Our extensions to the OTA standard. Child of FacilityInfo and Restaurant.

FieldDescriptionTypeRequiredNotes
Ambiances-array of AmbianceOptionalDescendant of Restaurant.
DietaryOptions-array of DietaryOptionOptionalDescendant of Restaurant.

Ambiance

Contains details of an ambiance in a property's restaurant. Child of Ambiances (see TPA_Extensions).

FieldDescriptionTypeRequiredNotes
Ambiance[@Name]The type of ambiance.enumRequiredAccepts: family/kids friendly, modern, romantic, traditional.

DietaryOption

Contains details of a dietary option a property's restaurant offers. Child of DietaryOptions (see TPA_Extensions).

FieldDescriptionTypeRequiredNotes
DietaryOption[@Name]The type of dietary option.enumRequiredAccepts: dairy free, gluten free, halal, kosher, vegan, vegetarian.

| HotelierMessage | An optional description of the property's facilities. | string | Optional | Descendant of FacilityInfo. | | HotelierMessage[@Language] | The Booking.com Language Code for the message. | array of DietaryOption | Required | Accepts the values listed under BCL. Required if HotelierMessage exists. |

-->