Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Contains the booking information as full as this is available from supplier. The response elements are the same as described in Hotel Booking Retrieval Quote.

 Hotel Booking Retrieval Import Response Sample XML
<OTA_HotelResRS EchoToken="tok1" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <HotelReservations>
      <HotelReservation ResStatus="Cancelled">
         <RoomStays>
            <RoomStay>
               <RoomTypes>
                  <RoomType RoomTypeCode="TPL.ST">
                     <RoomDescription Name="TRIPLE STANDARD">
                        <Text>TRIPLE STANDARD</Text>
                     </RoomDescription>
                  </RoomType>
               </RoomTypes>
               <RatePlans>
                  <RatePlan RatePlanCode="BB">
                     <RatePlanDescription>
                        <Text>BED AND BREAKFAST</Text>
                     </RatePlanDescription>
                     <MealsIncluded Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="3"/>
                  </RatePlan>
               </RatePlans>
               <RoomRates>
                  <RoomRate GuaranteeType="GuaranteeRequired" InexactPrice="false" InvBlockCode="1" NumberOfUnits="1" RatePlanCode="BB" RoomTypeCode="TPL.ST">
                     <Rates>
                        <Rate AgeQualifyingCode="10" RateSource="Calculated">
                           <Total AmountAfterTax="0.00" CurrencyCode="EUR"/>
                           <TotalRetail AmountAfterTax="0.00" CurrencyCode="EUR"/>
                        </Rate>
                     </Rates>
                     <RoomRateDescription Language="en">
                        <Text>Wheelchair-accessible NO.</Text>
                     </RoomRateDescription>
                     <Total AmountAfterTax="0.00" CurrencyCode="EUR"/>
                     <TotalRetail AmountAfterTax="0.00" CurrencyCode="EUR" IsMin="true"/>
                  </RoomRate>
               </RoomRates>
               <TimeSpan End="2016-06-19" Start="2016-06-14"/>
               <Total AmountAfterTax="0.00" CommissionAmount="0.00" CurrencyCode="EUR"/>
               <TotalRetail AmountAfterTax="0.00" CurrencyCode="EUR" IsMin="true"/>
               <BasicPropertyInfo HotelCityCode="PMI" HotelCode="23476" HotelCodeContext="hotelbeds" HotelName="Almudaina">
                  <Position Latitude="39.571824" Longitude="2.645239"/>
                  <CategoryCodes>
                     <HotelCategory Code="20" CodeDetail="4 STARS"/>
                  </CategoryCodes>
                  <Award Provider="Hotel" Rating="4"/>
                  <Award Provider="Supplier" Rating="4EST"/>
               </BasicPropertyInfo>
            </RoomStay>
         </RoomStays>
         <ResGuests>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="1" Type="1"/>
                     <Profile>
                        <Customer>
                           <PersonName>
                              <NamePrefix/>
                              <GivenName>HOLDER NAME</GivenName>
                              <Surname>HOLDER SURNAME</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
         </ResGuests>
         <ResGlobalInfo>
            <DepositPayments>
               <GuaranteePayment Type="AcceptedPaymentForms">
                  <AcceptedPayments>
                     <AcceptedPayment CostCenterID="hotelbeds"/>
                  </AcceptedPayments>
               </GuaranteePayment>
            </DepositPayments>
            <HotelReservationIDs>
               <HotelReservationID ResID_Source="agent" ResID_Value="c06118b"/>
               <HotelReservationID ResID_Source="client" ResID_Value="c06118b"/>
               <HotelReservationID ResID_Source="supplier" ResID_SourceContext="hotelbeds" ResID_Value="1-3086905"/>
            </HotelReservationIDs>
         </ResGlobalInfo>
         <TPA_Extensions>
            <VoucherProperties>
               <Property Name="payableThrough" Value="Passenger at the hotel / Pasajero en el hotel"/>
            </VoucherProperties>
         </TPA_Extensions>
      </HotelReservation>
   </HotelReservations>
</OTA_HotelResRS>
  • No labels