roomname (B.XML)
In order to build rooms on Booking.com via the Content API, you will need both the Booking.com Room Type Code and Room Type Name.
Step 1: Provider sends a B.XML roomname call
POST https://supply-xml.booking.com/hotels/xml/roomname
Request — HTTP Message Body Model
<?xml version="1.0" encoding="UTF-8"?> <request> <languages> <language code="xu" /> <language code="fr" /> </languages> <roomtypes> <roomtype code="4" /> <roomtype code="10" /> </roomtypes> </request>
Request — Element Overview
Node Name | Nest Level | Parent Node | Value Range | Data Type | Node Multiplicity |
---|---|---|---|---|---|
language | L2 | languages | -- | -- | 1..X |
languages | L1 | request | -- | -- | 1 |
request | L0 | NULL(root) | -- | -- | 1 |
roomtype | L2 | roomtypes | -- | -- | 1..X |
roomtypes | L1 | request | -- | -- | 1 |
- The request body consists of a mandatory request root element. This is the parent node.
- The optional child node languages contains the specified language nodes being queried ((English (UK) is assumed if omitted).
- The optional grandchild node language contains the @code from the Booking.com BCL.
- The grandchild node roomtype is required when its parent node roomtypes is present. The roomtype node contains an attribute code which is the Booking.com room type code BCRT to be queried.
To receive a list of all English (UK) room names for all active room types only the **username** and **password** need to be sent in the **request** body.
Step 2: Response of requested room names with their associated language and room type information
Type | HTTP Method | Message Sender | Message Receiver |
---|---|---|---|
Response | POST | Booking.com | Connectivity Partner |
Response — HTTP Message Body Model
<?xml version="1.0" encoding="UTF-8"?> <roomnames> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple - Vue sur Jardin</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple - Vue sur Lac</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple - Vue sur Mer</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple - Vue sur Montagne</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple - Vue sur Parc</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple - Vue sur la Piscine</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Standard</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Standard - Vue sur Montagne</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Standard avec Douche</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Standard avec Salle de Bains Commune</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Standard avec Sauna</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Standard avec Vue sur Mer</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Supérieure</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Supérieure - Vue sur Lac</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Supérieure - Vue sur Mer</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Bain</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Balcon</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Douche</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Salle de Bains</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Salle de Bains Commune</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Salle de Bains Privative</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Salle de Bains Privative Séparée</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Salle de Bains et Toilettes Communes</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Terrasse</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple avec Toilettes Communes</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple de Luxe</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple de Luxe - Vue sur Mer</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple de Luxe avec Balcon</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple pour Personnes à Mobilité Réduite</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Économique</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Chambre Simple Économique</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Grande Chambre Simple</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Offre Spéciale Saint-Sylvestre - Chambre Simple</roomname> <roomname languagecode="fr" roomtypecode="10" roomtypename="Single">Petite Chambre Simple</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Exécutive avec 2 Lits Queen-Size</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple - Accessible aux Personnes à Mobilité Réduite</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple - Vue Montagne</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple - Vue sur Jardin</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple - Vue sur Mer</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Classique</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Confort</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Premium</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Standard</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Supérieure</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Baignoire</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Balcon</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Douche</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Salle de Bains</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Salle de Bains Commune</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Salle de Bains Privative</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Salle de Bains Privative Externe</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Terrasse</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple avec Vue sur le Lac</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple de Luxe</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple de Luxe</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple de Style Japonais</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple en Duplex</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Économique</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Quadruple Économique avec Salle de Bains Commune</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Standard avec 2 Lits Queen-Size</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre Supérieure avec 2 Lits Queen-Size</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre avec 2 Lits King-Size</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre avec 2 Lits Queen-Size</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre avec 2 Lits Queen-Size - Accessible aux Personnes à Mobilité Réduite</roomname> <roomname languagecode="fr" roomtypecode="4" roomtypename="Quadruple">Chambre de Luxe avec 2 Lits Queen-Size</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Budget Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Deluxe Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Deluxe Single Room with Balcony</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Deluxe Single Room with Sea View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Economy Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Large Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">New Year's Eve Special - Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room - Disability Access</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Balcony</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Bath</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Bathroom</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Garden View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Lake View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Mountain View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Park View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Pool View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Private Bathroom</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Private External Bathroom</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Sea View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Shared Bathroom</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Shared Shower and Toilet</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Shared Toilet</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Shower</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Single Room with Terrace</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Small Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Standard Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Standard Single Room with Mountain View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Standard Single Room with Sauna</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Standard Single Room with Sea View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Standard Single Room with Shared Bathroom</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Standard Single Room with Shower</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Superior Single Room</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Superior Single Room with Lake View</roomname> <roomname languagecode="xu" roomtypecode="10" roomtypename="Single">Superior Single Room with Sea View</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Classic Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Comfort Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Deluxe Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Deluxe Queen Room with Two Queen Beds</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Duplex Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Economy Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Economy Quadruple Room with Shared Bathroom</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Executive Queen Room with Two Queen Beds</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Japanese-Style Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">King Room with Two King Beds</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Luxury Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Premium Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room - Disability Access</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Balcony</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Bath</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Bathroom</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Garden View</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Lake View</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Mountain View</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Private Bathroom</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Private External Bathroom</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Sea View</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Shared Bathroom</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Shower</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Quadruple Room with Terrace</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Queen Room with Two Queen Beds</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Queen Room with Two Queen Beds - Disability Access</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Standard Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Standard Queen Room with Two Queen Beds</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Superior Quadruple Room</roomname> <roomname languagecode="xu" roomtypecode="4" roomtypename="Quadruple">Superior Queen Room with Two Queen Beds</roomname> </roomnames> <!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->