fbpx

Search Reservation – LLT_ResSearchRQ

46 views September 15, 2020 October 19, 2020 Eugeny Grigoriev 0

When you need to find an existing reservation you can use LLT_ResSearchRQ call.

Request sample

<LLT_ResSearchRQ PrimaryLangID="eng" AltLangID="" Version="1.003">
 <Criteria>
  <Criterion>
   <ResID ID="425054" />
  </Criterion>
  <Criterion>
   <Guest LastName="Smith" />
  </Criterion>
  <Criterion>
   <Date From="2022-05-10" />
  </Criterion>
  <Criterion>
   <Phone Number="11238890000" />
  </Criterion>
  <Criterion>
   <Email Email="email@example.com" />
  </Criterion>
 </Criteria>
</LLT_ResSearchRQ>

Required fields:
PrimaryLangID – OTA requires it
At least 2 search criteria must be provided and all of them should match to get correct response.

Response sample

<LLT_ResSearchRS>
 <Result>Success</Result>
 <HotelReservations>
  <HotelReservation CreateDateTime="2020-09-04 09:45:51" ResStatus="Reserved"> // Status might be Reserved OR Pending.
   <POS>
    <Source>
     <BookingChannel>
      <CompanyName Code="resboard_direct">ColibriPMS.com</CompanyName>
     </BookingChannel>
    </Source>
   </POS>
   <UniqueID Type="14" ID="425054"/>
   <RoomStays>
    <RoomStay SourceOfBusiness="ColibriPMS.com">
     <RoomRates>
      <RoomRate RoomTypeCode="C_1235" RatePlanCode="5555" NumberOfUnits="1" InvBlockCode="0">
       <Rates>
        <Rate UnitMultiplier="3" RateTimeUnit="Night" EffectiveDate="2022-05-10" ExpireDate="2022-05-13">
         <Base AmountAfterTax="1950.40" CurrencyCode="EUR"/>
        </Rate>
       </Rates>
      </RoomRate>
     </RoomRates>
     <GuestCounts IsPerRoom="1">
      <GuestCount AgeQualifyingCode="10" Count="2"/>
      <GuestCount AgeQualifyingCode="8" Count="1"/>
     </GuestCounts>
     <TimeSpan Start="2022-05-10" End="2022-05-13"/>
     <Total AmountAfterTax="5851.20" CurrencyCode="EUR">
      <Taxes>
       <Tax Code="666" Amount="360.00" CurrencyCode="EUR">
        <TaxDescription>
         <Text>VAT 6%</Text>
        </TaxDescription>
       </Tax>
       <Tax Code="667" Amount="18.00" CurrencyCode="EUR">
        <TaxDescription>
         <Text>Municipal</Text>
        </TaxDescription>
       </Tax>
      </Taxes>
      <TPA_Extensions>
       <Payments>
        <Payment Amount="100.00" CurrencyCode="EUR">Deposit</Payment> // Existing payment(s) from guest folio
        <Payment Amount="1000.00" CurrencyCode="EUR">Credit Card (via kiosk)</Payment> 
       </Payments>
        <BalanceDue AmountAfterTax="5573.60" CurrencyCode="EUR"/> // Current balance due
        <AllowedGuestCounts> // Number of guests allowed for this room 
         <AllowedGuestCount Type="MinAdult" Value="0"/>
         <AllowedGuestCount Type="NormalAdult" Value="3"/>
         <AllowedGuestCount Type="MaxAdult" Value="3"/>
         <AllowedGuestCount Type="NormalChildren" Value="0"/>
         <AllowedGuestCount Type="MaxChildren" Value="0"/>
       </AllowedGuestCounts>
      </TPA_Extensions>
     </Total>
     <BasicPropertyInfo HotelCode="1234" ChainCode="123" BrandCode="Great Serviced Apartments LLC"/>
    </RoomStay>
   </RoomStays>
   <ResGuests>
    <ResGuest ResGuestRPH="1">
     <Profiles>
      <ProfileInfo>
       <UniqueID ID="357116"/>
       <Profile>
        <Customer>
         <Address>
          <CountryName Code="US"/>
         </Address>
         <PersonName>
          <GivenName>John</GivenName>
          <Surname>Smith</Surname>
         </PersonName>
         <Email>email@example.com</Email>
         <Telephone PhoneNumber="11238890000"/>
        </Customer>
       </Profile>
      </ProfileInfo>
     </Profiles>
    </ResGuest>
   </ResGuests>
  </HotelReservation>
 </HotelReservations>
</LLT_ResSearchRS>

Was this helpful?