Hotel only - Booking for 4 Persons in 2 rooms (AME 3)

Aus DRV STRING
Version vom 22. Dezember 2016, 09:24 Uhr von Althoffm (Diskussion | Beiträge) (AmE UC 03)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche


Use Case: Hotel only - Booking for 4 Persons in 2 rooms (AME 3)

Module: Flight

Description

Two adults are traveling together with their children, 10 and 14 years old. They book one double room for the adults and another double room for their children. Local taxes are included within the sales price. The meal plan (breakfast) is included in the room rate, but has to be shown within the response as an included service. Rooms for children only have a separate indicator as room type.

Remark: the rules regarding the occupation of rooms (e.g. are 2 children allowed to share a room and will a discounted price be provided in this case?) is up to the inventory system of the linked tour operator.

Based on release 0.1 (children's age is to be included in release 0.2) the following transactions are being expected:

Request Data

<StringBookRequest xmlns="http://www.drv.de/drvws/Schema/2010/A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.drv.de/drvws/Schema/2010/A ../string/StringHotelBookRQ.xsd"> <Accommodation TourOperatorCode="AME" TravelType="BETT"> <Objects> <Object ID="01" ProductCode="INN456"> <Stay Nights="7" Start="2016-12-27"/> <AddReqInfo>Hotel Brennerspitz</AddReqInfo> </Object> </Objects> <ObjectsVariants> <ObjectVariant ID="01" ObjectIDRef="01"> <Room OpCode="DZ" PassengerIdList="01 02"> <AddReqInfo> Doppelzimmer, Typ B</AddReqInfo> </Room> <Board OpCode="HP"/> </ObjectVariant> <ObjectVariant ID="02" ObjectIDRef="01"> <Room OpCode="DK" PassengerIdList="03 04"> <AddReqInfo>Doppelzimmer, 2 Kinder, Typ B</AddReqInfo> </Room> <Board OpCode="HP"/> </ObjectVariant> </ObjectsVariants> </Accommodation> </StringBookRequest>


Response Data

<StringBookResponse Success="true" xmlns="http://www.drv.de/drvws/Schema/2010/A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.drv.de/drvws/Schema/2010/A ../../../../DRV/DRV%20Booking%20Interface/XSD/string/StringHotelBookRS.xsd"> <Accommodation TourOperatorCode="AME" TravelType="BETT"> <Objects> <Object PackageIndicator="false" ID="01" ProductCode="INN345"> <ObjectDetails> <Name>Hotel Brennerspitz</Name> <Address> <StreetNo>Franz Senn Straße 160</StreetNo> <AddressLine>Stubaital</AddressLine> <ZipCode>6167</ZipCode> <City>Neustift</City> <Country CountryCode="AT">Österreich</Country> </Address> <Location> <City>Neustift</City> <Country Code="DE">Österreich</Country> <GeoCoordinate Latitude="11.2824" Longitude="47.0990"/> <Regions> <Region>Tirol</Region> </Regions> </Location> <ExternalContentReference ContentURL="http://www.brennerspitz.at/de/hotel/"/> </ObjectDetails> <BookingInfos> <BookingRef ID="77456992109"/> <Stay Nights="1" Start="2016-12-27" End="2016-12-28"/> <AddBookingInfo>Servicezeiten</AddBookingInfo> <AddBookingInfo>Rezeption: 05:00 - 23:00 Uhr besetzt</AddBookingInfo> <AddBookingInfo>Rezeption am Wochenende: 05:00 - 23:00 Uhr besetzt</AddBookingInfo> <AddBookingInfo>Frühester Check-In: 15:00 Uhr</AddBookingInfo> <AddBookingInfo>Spätester Check-out: 11:00 Uhr</AddBookingInfo> <Price Amount="160.00" CurrencyCode="EUR"/> </BookingInfos> </Object> </Objects> <ObjectsVariants> <ObjectVariant ID="01" ObjectIDRef="01"> <Room OpCode="DZ" PassengerIdList="01 02" Status="OK"> <RoomDetails> <RoomDescription>Doppelzimmer, Typ B</RoomDescription> <RoomDescription>mit ca. 20m²</RoomDescription> <RoomDescription>Bad oder Dusche/WC, Sat-TV, Telefon, Radio, Balkon, Zimmersafe</RoomDescription>. <CancellationPolicies FreeTo="2016-10-28T18:00:00" FullFrom="2016-10-28T18:00:01"/> </RoomDetails> <BookingInfos> <Price Amount="94.00"> <PassengerPrices> <PassengerPrice Amount="47.00" ID="01"/> <PassengerPrice Amount="47.00" ID="02"/> </PassengerPrices> </Price> </BookingInfos> </Room> </ObjectVariant> <ObjectVariant ID="02" ObjectIDRef="01"> <Room OpCode="DK" PassengerIdList="03 04" Status="OK"> <RoomDetails> <RoomDescription>Doppelzimmer, 2 Kinder, Typ B</RoomDescription> <RoomDescription>Eigenes Zimmer: 2 Kinder bis 17 Jahre in Begleitung von 2 Erwachsenen</RoomDescription> <RoomDescription>mit ca. 20m²</RoomDescription> <RoomDescription>Bad oder Dusche/WC, Sat-TV, Telefon, Radio, Balkon, Zimmersafe</RoomDescription>. <CancellationPolicies FreeTo="2016-10-28T18:00:00" FullFrom="2016-10-28T18:00:01"/> </RoomDetails> <BookingInfos> <Price Amount="66.00"> <PassengerPrices> <PassengerPrice Amount="33.00" ID="03"/> <PassengerPrice Amount="33.00" ID="04"/> </PassengerPrices> </Price> </BookingInfos> </Room> </ObjectVariant> </ObjectsVariants> <ObjectsExtras> <ObjectExtra ObjectIDRef="01" VariantIDRef="01" PassengerIdList="01 02 03 04"> <Description>Halbpension</Description> <Price Amount="0.00"> <PassengerPrices> <PassengerPrice Amount="0.00" ID="01"/> <PassengerPrice Amount="0.00" ID="02"/> <PassengerPrice Amount="0.00" ID="03"/> <PassengerPrice Amount="0.00" ID="04"/> </PassengerPrices> </Price> </ObjectExtra> </ObjectsExtras> </Accommodation> </StringBookResponse>