Reservation with multi-rates XML Sample
Reservation with one room type booked, but multiple rate plans/codes contained.
Example of a reservation with the a single room type booked but different rate plans and one guest on the reservation level. Reservations like this occur most commonly on Booking.com, where a guest might make a 3 night booking for a room type "DR" - however, Booking.com allocates rate plan "RAC" to the first two nights of the booking, whereas the third night is booked on rate plan "RACX". The reason this happens is because one rate plan may be available when others aren't, allowing Booking.com to stitch together continuous stays from rate plans with different availability. An example of such a reservation is shown below.
Reservation with multi-rates
<OTA_ResRetrieveRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2005-08-01T09:32:47+08:00" EchoToken="echo-abc123">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2007-12-09T08:51:45.000+0000" ResStatus="Book">
<POS>
<Source>
<RequestorID Type="22" ID="SITEMINDER"/>
<BookingChannel Primary="true" Type="7">
<CompanyName Code="WTF">Wotif</CompanyName>
</BookingChannel>
</Source>
</POS>
<UniqueID Type="14" ID="WTF-001"/>
<UniqueID Type="16" ID="1243132" ID_Context="MESSAGE_UNIQUE_ID"/>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate RoomTypeCode="DR" RatePlanCode="RAC" NumberOfUnits="1">
<Rates>
<Rate UnitMultiplier="2" RateTimeUnit="Day" EffectiveDate="2013-03-12" ExpireDate="2013-03-14">
<Total AmountAfterTax="50.00" CurrencyCode="USD"/>
</Rate>
</Rates>
</RoomRate>
<RoomRate RoomTypeCode="DR" RatePlanCode="RACX" NumberOfUnits="1">
<Rates>
<Rate UnitMultiplier="1" RateTimeUnit="Day" EffectiveDate="2013-03-14" ExpireDate="2013-03-15">
<Total AmountAfterTax="40.00" CurrencyCode="USD"/>
</Rate>
</Rates>
</RoomRate>
</RoomRates>
<GuestCounts>
<GuestCount AgeQualifyingCode="10" Count="1"/>
</GuestCounts>
<TimeSpan Start="2013-03-12" End="2013-03-15"/>
<Total AmountAfterTax="140.00" CurrencyCode="USD"/>
<BasicPropertyInfo HotelCode="10107"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<UniqueID Type="16" ID="12345" ID_Context="CHANNEL"/>
<Profile ProfileType="1">
<Customer>
<PersonName>
<GivenName>James</GivenName>
<Surname>Bond</Surname>
</PersonName>
<Telephone PhoneNumber="555-1234"/>
<Email>james.bond@mi5.co.uk</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<Total AmountAfterTax="140.00" CurrencyCode="USD"/>
<HotelReservationIDs>
<HotelReservationID ResID_Type="14" ResID_Value="RES_3243525"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>