HotelBookingDetail()

This method is used to retrieve the booking details based on either of BookingId or ConfirmationNo or ClientReferenceNumber (sent in book request).

Note: If all the elements present in request priority will be given to ClientReferenceNumber

Request (Option 1)


<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:hot="http://TekTravel/HotelBookingApi">
  <soap:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'>
    <hot:Credentials xmlns:hot="http://TekTravel/HotelBookingApi" UserName="testuser" Password="testpwd">
    </hot:Credentials>
    <wsa:Action>http://TekTravel/HotelBookingApi/HoptelBookingDetail</wsa:Action>
    <wsa:To>http://api.tbotechnology.in/hotelapi_v7/hotelservice.svc</wsa:To>
  </soap:Header>
  <soap:Body>
    <hot:HotelBookingDetailRequest>
      <hot:BookingId>59124</hot:BookingId>
    </hot:HotelBookingDetailRequest>
  </soap:Body>
</soap:Envelope>


<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:hot="http://TekTravel/HotelBookingApi">
  <soap:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'>
    <hot:Credentials xmlns:hot="http://TekTravel/HotelBookingApi" UserName="testuser" Password="testpwd">
    </hot:Credentials>
    <wsa:Action>http://TekTravel/HotelBookingApi/HoptelBookingDetail</wsa:Action>
    <wsa:To>http://api.tbotechnology.in/hotelapi_v7/hotelservice.svc</wsa:To>
  </soap:Header>
  <soap:Body>
    <hot:HotelBookingDetailRequest>
      <hot:ConfirmationNo>8GQQNN</hot:ConfirmationNo>
    </hot:HotelBookingDetailRequest>
  </soap:Body>
</soap:Envelope>

Request (Option 3)


<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:hot="http://TekTravel/HotelBookingApi">
  <soap:Header>
    <hot:Credentials UserName="testuser" Password="testpwd">
    </hot:Credentials>
  </soap:Header>
  <soap:Body>
    <hot:HotelBookingDetailRequest>
      <hot:ClientReferenceNumber>200314125855789#abcd</hot:ClientReferenceNumber>
    </hot:HotelBookingDetailRequest>
  </soap:Body>
</soap:Envelope>

Response


<HotelBookingDetailResponse xmlns="http://TekTravel/HotelBookingApi">
  <Status>
    <StatusCode>01</StatusCode>
    <Description>Successful: HotelBookingDetail Successful</Description>
  </Status>
  <BookingDetail BookingId="59124" VoucherStatus="false" BookingStatus="Confirmed" AmendmentStatus="NotRequested" ConfirmationNo="8GQQNN">
    <HotelName>Champs Elysees</HotelName>
    <Rating>TwoStar</Rating>
    <AddressLine1>PO BOX 2565DUBAIUNITED ARAB EMIRATES</AddressLine1>
    <AddressLine2>
      Phone No: 971-4-2289666
      Fax : 971-4-2248926
    </AddressLine2>
    <Map>25.262668|55.325458</Map>
    <City>Dubai</City>
    <CheckInDate>2018-05-25</CheckInDate>
    <CheckOutDate>2018-05-26</CheckOutDate>
    <BookingDate>2017-11-30</BookingDate>
    <HotelCancelPolicies PolicyFormat="Nodes">
      <LastCancellationDeadline>2018-01-08T00:00:00</LastCancellationDeadline>
      <CancelPolicy RoomTypeName="Standard Room" RoomIndex="1" FromDate="2017-12-13" ToDate="2018-05-24" ChargeType="Percentage" CancellationCharge="100" Currency="USD" PrefCurrency="INR"/>
      <NoShowPolicy RoomTypeName="Standard Room" RoomIndex="1" FromDate="2018-05-25" ToDate="2018-05-26" ChargeType="Percentage" CancellationCharge="100" Currency="USD" PrefCurrency="INR"/>
      <DefaultPolicy>Early check out  will attract full cancellation charge unless otherwise specified</DefaultPolicy>
      <AutoCancellationText/>
    </HotelCancelPolicies>
    <HotelPolicyDetails>Complimentary airport transfer provided. Valid From 2015-03-25 through 2035-12-31|Amendments cannot be made against this booking once your booking has been requested.|</HotelPolicyDetails>
    <FlightInfo>?</FlightInfo>
    <SpecialRequest/>
    <Roomtype>
      <RoomDetails>
        <AdultCount>1</AdultCount>
        <ChildCount>0</ChildCount>
        <RoomName>Standard Room</RoomName>
        <Ameneties>Free Wireless Internet|Free Parking|Air conditioning|Coffee/tea maker|Desk|Free WiFi|Free bottled water|HDTV|Hair dryer|In-room safe|Individually furnished |Iron/ironing board (on request)|LCD TV |Phone|Private bathroom|Room service (24 hours)|Satellite TV service|Shower/tub combination|Smoking And Non-Smoking</Ameneties>
        <GuestInfo>
          <Guest LeadGuest="true" GuestType="Adult" GuestInRoom="1">
            <Title>Mr</Title>
            <FirstName>Mohit</FirstName>
            <LastName>Sharma Test</LastName>
            <Age>22</Age>
          </Guest>
        </GuestInfo>
        <RoomRate IsPackageRate="false" B2CRates="false" AgentMarkUp="0.00" Currency="USD" RoomFare="36.24" RoomTax="7.56" TotalFare="43.80">
          <ExtraGuestCharges>0</ExtraGuestCharges>
          <ChildCharges>0</ChildCharges>
          <Discount>0</Discount>
          <OtherCharges>0</OtherCharges>
          <ServiceTax>0</ServiceTax>
        </RoomRate>
      </RoomDetails>
    </Roomtype>
    <Currency>USD</Currency>
    <NoOfRooms>1</NoOfRooms>
    <AgencyDetails>
      <Name>Kuldeep agency</Name>
      <AddressLine1>724</AddressLine1>
      <AddressLine2>Udyog Vihar</AddressLine2>
      <Phone>1245</Phone>
      <Fax/>
      <City>Dubai</City>
      <PIN/>
      <BookingMemberName>Kuleep Test</BookingMemberName>
    </AgencyDetails>
    <AOTNumbers>
      <Country>United Arab Emirates</Country>
      <Contact>Dubai</Contact>
      <IntlCall>971-4-3664020</IntlCall>
      <DomesticCall>04-3664020<DomesticCall/>
      <LocalCall>3664020</LocalCall>
      <Language>English</Language>
      <OfficeHours>09:00 - 22:00<OfficeHours/>
      <Emergency>050-5539097</Emergency>
    </AOTNumbers>
    <CityId>115936</CityId>
  </BookingDetail>
</HotelBookingDetailResponse>