Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added request denied status according to Milena's comment in HUB -6573

Hotel Booking Retrieval Quote Response contains the latest information about the whole multi-room reservation (basket) as well as each hotel reservation in the basket (status, cancellation penalties and etc.) Elements and attributes are the same as described in Reservation Confirmation response, but ResStatus attribute can take different values:

Element

Attribute

Type

Description

Min…Max occurs

HotelReservations/HotelReservation

ResStatus*

string ("Reserved", "Waitlisted", "Cancelled", “Request Denied“)

"Reserved" - means that accommodation was successfully reserved.

"Cancelled" - means that booking is cancelled.

"Waitlisted" - means that booking is waiting for confirmation.

“Request Denied“ - means that supplier denied this request and accommodation can not be booked.

1...1

Expand
titleBooking Retrieval Quote Response Sample XML
Code Block
languagexml
<OTA_HotelResRS Version="2.00" EchoToken="EchoToken" xmlns:ota="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <HotelReservations>
      <HotelReservation ResStatus="Reserved">
         <RoomStays>
            <RoomStay>
               <RoomTypes>
                  <RoomType RoomTypeCode="2,3" SupplierRoomTypeCode="2" SupplierRoomCategoryCode="3">
                     <RoomDescription Name="Double">
                        <Text>Double sea view</Text>
                     </RoomDescription>
                  </RoomType>
               </RoomTypes>
               <RatePlans>
                  <RatePlan RatePlanCode="AB,1" SupplierRatePlanCode="AB" SupplierContractCode="1">
                     <MealsIncluded Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="3"/>
                     <AdditionalDetails>
                        <AdditionalDetail Code="AB" Type="15">
                           <DetailDescription Language="en">
                              <Text>Continental Breakfast</Text>
                           </DetailDescription>
                        </AdditionalDetail>
                     </AdditionalDetails>
                  </RatePlan>
               </RatePlans>
               <RoomRates>
                  <RoomRate InvBlockCode="1" RatePlanCode="AB,1" RoomTypeCode="2,3" NumberOfUnits="1" Blind="false">
                     <Rates>
                        <Rate AgeQualifyingCode="10" RateSource="Hotel">
                           <Total AmountAfterTax="300.00" CurrencyCode="EUR"/>
                           <TotalRetail AmountAfterTax="320.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
                        </Rate>
                        <Rate AgeQualifyingCode="10" RateSource="Hotel">
                           <Total AmountAfterTax="300.00" CurrencyCode="EUR"/>
                           <TotalRetail AmountAfterTax="320.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
                        </Rate>
                        <Rate AgeQualifyingCode="8" RateSource="Hotel">
                           <Total AmountAfterTax="60.00" CurrencyCode="EUR"/>
                           <TotalRetail AmountAfterTax="60.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
                        </Rate>
                     </Rates>
                     <RoomRateDescription Name="GRAll">
                        <Text>This hotel only late check-in.</Text>
                     </RoomRateDescription>
                     <Discount AmountAfterTax="90.00" CurrencyCode="EUR">
                        <DiscountReason>
                           <Text>Special offer</Text>
                        </DiscountReason>
                     </Discount>
                     <Services>
                        <Service ServiceRPH="1000136" IsPerRoom="true" Inclusive="true" SpecialServiceType="Meal">
                           <Price>
                              <Base CurrencyCode="EUR" AmountAfterTax="70.00"/>
                           </Price>
                           <ServiceDetails ShortName="Continental Breakfast">
                              <ServiceDescription>
                                 <Text>Continental Breakfast</Text>
                              </ServiceDescription>
                           </ServiceDetails>
                        </Service>
                     </Services>
                     <Total AmountAfterTax="660.00" CurrencyCode="EUR"/>
                     <TotalRetail AmountAfterTax="700.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
                  </RoomRate>
               </RoomRates>
               <TimeSpan Start="2020-10-20" End="2020-10-25"/>
               <CancelPenalties>
                  <CancelPenalty End="2020-10-20T00:00:00+02:00" Start="2020-10-17T00:00:00+02:00">
                     <AmountPercent Amount="199.00" CurrencyCode="EUR"/>
                  </CancelPenalty>
               </CancelPenalties>
               <Total AmountAfterTax="660.00" CurrencyCode="EUR"/>
               <TotalRetail AmountAfterTax="700.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
               <BasicPropertyInfo HotelCityCode="LON" HotelCode="157292" HotelCodeContext="supplierCode" HotelName="Pullman Skipper">
                  <Award Provider="Hotel" Rating="4"/>
                  <RelativePosition Name="CityCenter" Nearest="true"/>
               </BasicPropertyInfo>
            </RoomStay>
         </RoomStays>
         <ResGuests>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="1" Type="1"/>
                     <Profile>
                        <Customer>
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Oleg</GivenName>
                              <Surname>Ivanov</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="2" Type="1"/>
                     <Profile>
                        <Customer>
                           <PersonName>
                              <NamePrefix>Mrs</NamePrefix>
                              <GivenName>Olga</GivenName>
                              <Surname>Ivanova</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="3" Type="1"/>
                     <Profile>
                        <Customer BirthDate="2014-07-18">
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Alexey</GivenName>
                              <Surname>Ivanov</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
         </ResGuests>
         <ResGlobalInfo>
            <Comments>
               <Comment>
                  <Text>non-smoking room requested;king bed</Text>
               </Comment>
            </Comments>
            <DepositPayments>
               <GuaranteePayment Type="AcceptedPaymentForms">
                  <AcceptedPayments>
                     <AcceptedPayment CostCenterID="Kuoni"/>
                  </AcceptedPayments>
               </GuaranteePayment>
            </DepositPayments>
            <HotelReservationIDs>
               <HotelReservationID ResID_Source="agent" ResID_Value="66589"/>
               <HotelReservationID ResID_Source="client" ResID_Value="264888"/>
               <HotelReservationID ResID_Source="supplier" ResID_Value="LL7F090498" ResID_SourceContext="supplierCode"/>
            </HotelReservationIDs>
         </ResGlobalInfo>
         <TPA_Extensions>
            <VoucherProperties>
               <Property Name="vat" Value="324KG327I"/>
               <Property Name="notes" Value="Please call to reception the day before arrival to confirm your reservation."/>
            </VoucherProperties>
         </TPA_Extensions>
      </HotelReservation>
   </HotelReservations>
</OTA_HotelResRS>

...