Travelport / travelport-uapi-tutorial

The travelport-uapi-tutorial is a Java project for Universal API that will help you connect and code a standard workflow including Air and Hotel.
45 stars 34 forks source link

Hotel coordinates #178

Open al13bash opened 8 years ago

al13bash commented 8 years ago

I wonder if I can get Hotel coordinates by hotel chain and hotel code using travelport universal api?

vivekjyotipramanik commented 8 years ago

Hi al13bash,

The Hotel Search Availability response returns the Coordinate of the Hotel property but it requires proper provisioning. Most of the Hotel properties has listed coordinates and Hotel Availability returns the same. We can search Hotel using Hotel Name and Hotel Chain and in the scenario it will return Hotel Coordinates if you are provisioned for it. Please find below the request and response. Please let me know how it goes. Thanks.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hot="http://www.travelport.com/schema/hotel_v36_0" xmlns:com="http://www.travelport.com/schema/common_v36_0">
   <soapenv:Header/>
   <soapenv:Body>
      <HotelSearchAvailabilityReq TraceId="5af29c5d-0ae6-48ce-a8f3-3385f04b6fa5" AuthorizedBy="Travelport" TargetBranch="TRGT_BRCH" xmlns="http://www.travelport.com/schema/hotel_v36_0">
         <BillingPointOfSaleInfo OriginApplication="uAPI" xmlns="http://www.travelport.com/schema/common_v36_0"/>
         <HotelSearchLocation>
            <HotelLocation Location="DEN"/>
         </HotelSearchLocation>
         <HotelSearchModifiers NumberOfAdults="1" NumberOfRooms="1" AvailableHotelsOnly="true">
            <!--<hot:PermittedChains>
               <hot:HotelChain Code="YZ"/>
            </hot:PermittedChains>-->
            <PermittedProviders xmlns="http://www.travelport.com/schema/common_v36_0">
               <Provider Code="1G"/>
            </PermittedProviders>
         </HotelSearchModifiers>
         <HotelStay>
            <CheckinDate>2016-12-30</CheckinDate>
            <CheckoutDate>2017-01-03</CheckoutDate>
         </HotelStay>
      </HotelSearchAvailabilityReq>
   </soapenv:Body>
</soapenv:Envelope>
<hotel:HotelSearchAvailabilityRsp xmlns:hotel="http://www.travelport.com/schema/hotel_v36_0" xmlns:common_v36_0="http://www.travelport.com/schema/common_v36_0" TraceId="4acb63f4-4805-47ba-91fa-3bd429764e0d" TransactionId="450E32780A07647742A01CA3D4DC73B8" ResponseTime="9916">
  <common_v36_0:NextResultReference ProviderCode="1G">OWsy2Pra0305azLY+trTfYawFxuF87/bWAuIVnnF+GnLeiVcNl5pFxfUc/nRqSwHg2gOTBPLtlDtQnWKY/iv16WPhKRjQn/UImiGzi+RKm5S/JRLTfZUIw==</common_v36_0:NextResultReference>
  <hotel:ReferencePoint>DENVER INTL ARPT</hotel:ReferencePoint>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="YZ" VendorLocationID="83392" Key="07gzsg3R2BKAoh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="YZ" HotelCode="83392" HotelLocation="DEN" Name="STAYBRIDGE SUITES DENVER ARPT" VendorLocationKey="07gzsg3R2BKAoh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6951 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8229" longitude="-104.772" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD108.99" MinAmountRateChanged="false" MaximumAmount="USD214.99" MaxAmountRateChanged="false" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="LQ" VendorLocationID="94229" Key="07gzsg3R2BKAph9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="LQ" HotelCode="94229" HotelLocation="DEN" Name="LA QUINTA INN STE DEN AP DIA" VendorLocationKey="07gzsg3R2BKAph9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6801 TOWER RD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.821" longitude="-104.772" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD82.00" MaximumAmount="USD112.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HY" VendorLocationID="07320" Key="07gzsg3R2BKAqh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HY" HotelCode="07320" HotelLocation="DEN" Name="HYATT HOUSE DENVER AIRPORT" VendorLocationKey="07gzsg3R2BKAqh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>18741 EAST 71ST AVEN</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8268" longitude="-104.7691" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD180.00" MaximumAmount="USD294.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="ES" VendorLocationID="52557" Key="07gzsg3R2BKArh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="ES" HotelCode="52557" HotelLocation="DEN" Name="EMBASSY SUITES DENVER INTL ARPT" VendorLocationKey="07gzsg3R2BKArh9wAAAAAA==" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>7001 YAMPA STREET</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.825" longitude="-104.7747" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD179.95" MaximumAmount="USD239.95" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="CY" VendorLocationID="86902" Key="07gzsg3R2BKAsh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="CY" HotelCode="86902" HotelLocation="DEN" Name="COURTYARD MARRIOTT DENVER ARPT" VendorLocationKey="07gzsg3R2BKAsh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6901 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8229" longitude="-104.772" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD107.00" MaximumAmount="USD289.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HT" VendorLocationID="C6136" Key="07gzsg3R2BKAth9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HT" HotelCode="C6136" HotelLocation="DEN" Name="HOME2 SUITES DENVER INTL APT" VendorLocationKey="07gzsg3R2BKAth9wAAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>92 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8196" longitude="-104.771" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD139.00" MaximumAmount="USD179.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HI" VendorLocationID="25326" Key="07gzsg3R2BKAuh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HI" HotelCode="25326" HotelLocation="DEN" Name="HOLIDAY INN AND SUITES AIRPORT" VendorLocationKey="07gzsg3R2BKAuh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6900 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8239" longitude="-104.7718" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD116.10" MinAmountRateChanged="false" MaximumAmount="USD174.00" MaxAmountRateChanged="false" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HI" VendorLocationID="25337" Key="07gzsg3R2BKAvh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HI" HotelCode="25337" HotelLocation="DEN" Name="HOLIDAY INN EXP DENVER AIRPORT" VendorLocationKey="07gzsg3R2BKAvh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6910 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8239" longitude="-104.7718" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD113.00" MinAmountRateChanged="false" MaximumAmount="USD159.00" MaxAmountRateChanged="false" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="BW" VendorLocationID="05257" Key="07gzsg3R2BKAwh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="BW" HotelCode="05257" HotelLocation="DEN" Name="BEST WESTERN PLUS DENVER INTL" VendorLocationKey="07gzsg3R2BKAwh9wAAAAAA==" HotelTransportation="9" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>DENVER CO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8242" longitude="-104.7705" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD179.00" MaximumAmount="USD189.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="FN" VendorLocationID="70954" Key="07gzsg3R2BKAxh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="FN" HotelCode="70954" HotelLocation="DEN" Name="FAIRFIELD INN N STES MARRIOTT" VendorLocationKey="07gzsg3R2BKAxh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6851 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.821" longitude="-104.772" />
      <common_v36_0:Distance Units="MI" Value="6" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD93.00" MaximumAmount="USD199.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="RC" VendorLocationID="78130" Key="07gzsg3R2BKAyh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="RC" HotelCode="78130" HotelLocation="DEN" Name="RESIDENCE INN AIRPORT MARRIOTT" VendorLocationKey="07gzsg3R2BKAyh9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>AURORA CO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7703" longitude="-104.7994" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD99.00" MaximumAmount="USD274.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="EZ" VendorLocationID="33024" Key="07gzsg3R2BKAzh9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="EZ" HotelCode="33024" HotelLocation="DEN" Name="CAMBRIA HOTEL AND SUITES DENVER INT" VendorLocationKey="07gzsg3R2BKAzh9wAAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>AURORA  CO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7723" longitude="-104.8014" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD209.00" MinAmountRateChanged="false" MaximumAmount="USD279.00" MaxAmountRateChanged="false" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="TO" VendorLocationID="53177" Key="07gzsg3R2BKA0h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="TO" HotelCode="53177" HotelLocation="DEN" Name="TOWNEPLACE STES AIRPT MARRIOTT" VendorLocationKey="07gzsg3R2BKA0h9wAAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>4100 N KITTREDGE ST</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7742" longitude="-104.8016" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD71.00" MaximumAmount="USD259.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HX" VendorLocationID="78973" Key="07gzsg3R2BKA1h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HX" HotelCode="78973" HotelLocation="DEN" Name="HAMPTON INN DENVER INTL ARPT" VendorLocationKey="07gzsg3R2BKA1h9wAAAAAA==" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>6290 TOWER ROAD</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8112" longitude="-104.772" />
      <common_v36_0:Distance Units="MI" Value="7" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD134.10" MaximumAmount="USD165.92" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="GI" VendorLocationID="01500" Key="07gzsg3R2BKA2h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="GI" HotelCode="01500" HotelLocation="DEN" Name="HILTON GARDEN INN DEN AIRPORT" VendorLocationKey="07gzsg3R2BKA2h9wAAAAAA==" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>16475 EAST 40TH CIRC</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7705" longitude="-104.7998" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD139.00" MaximumAmount="USD185.72" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="MC" VendorLocationID="97336" Key="07gzsg3R2BKA3h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="MC" HotelCode="97336" HotelLocation="DEN" Name="DENVER AIRPORT MARRIOTT" VendorLocationKey="07gzsg3R2BKA3h9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>AURORA CO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7705" longitude="-104.7999" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD101.00" MaximumAmount="USD299.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="XV" VendorLocationID="15234" Key="07gzsg3R2BKA4h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="XV" HotelCode="15234" HotelLocation="DEN" Name="SPRINGHILL STES ARPT MARRIOTT" VendorLocationKey="07gzsg3R2BKA4h9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>18350 EAST 68TH AVEN</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.82" longitude="-104.7737" />
      <common_v36_0:Distance Units="MI" Value="7" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD97.00" MaximumAmount="USD189.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HX" VendorLocationID="60159" Key="07gzsg3R2BKA5h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HX" HotelCode="60159" HotelLocation="DEN" Name="HAMPTON STS DENVER AIRPORT-GATEWAY" VendorLocationKey="07gzsg3R2BKA5h9wAAAAAA==" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>4310 AIRPORT WAY</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7737" longitude="-104.796" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD89.10" MaximumAmount="USD129.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HY" VendorLocationID="86178" Key="07gzsg3R2BKA6h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HY" HotelCode="86178" HotelLocation="DEN" Name="HYATT PLACE DENVER AIRPORT" VendorLocationKey="07gzsg3R2BKA6h9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>16250 EAST 40TH AVEN</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7723" longitude="-104.794" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD179.00" MaximumAmount="USD194.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HG" VendorLocationID="79474" Key="07gzsg3R2BKA7h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HG" HotelCode="79474" HotelLocation="DEN" Name="HOMEWOOD STE DENVER INTL ARPT" VendorLocationKey="07gzsg3R2BKA7h9wAAAAAA==" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>4210 AIRPORT WAY</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7772" longitude="-104.8016" />
      <common_v36_0:Distance Units="MI" Value="10" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD134.10" MaximumAmount="USD239.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="CP" VendorLocationID="02074" Key="07gzsg3R2BKA8h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="CP" HotelCode="02074" HotelLocation="DEN" Name="CROWNE PLAZA DENVER INTL APT" VendorLocationKey="07gzsg3R2BKA8h9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>15500 EAST 40TH AVEN</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7732" longitude="-104.8087" />
      <common_v36_0:Distance Units="MI" Value="11" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD85.00" MinAmountRateChanged="false" MaximumAmount="USD124.00" MaxAmountRateChanged="false" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="HY" VendorLocationID="49445" Key="07gzsg3R2BKA9h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="HY" HotelCode="49445" HotelLocation="DEN" Name="HYATT REGENCY DENVER AT COLORADO CO" VendorLocationKey="07gzsg3R2BKA9h9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>650 15TH ST</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.7439" longitude="-104.993" />
      <common_v36_0:Distance Units="MI" Value="21" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>4</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD149.00" MaximumAmount="USD549.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="LQ" VendorLocationID="72668" Key="07gzsg3R2BKA+h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="LQ" HotelCode="72668" HotelLocation="DEN" Name="LA QUINTA INN STE ENGLEWOOD TECH" VendorLocationKey="07gzsg3R2BKA+h9wAAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>GREENWOOD VILLAGE  C</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.5951" longitude="-104.8814" />
      <common_v36_0:Distance Units="MI" Value="25" Direction="SW" />
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD69.00" MaximumAmount="USD109.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="CY" VendorLocationID="16233" Key="07gzsg3R2BKA/h9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="CY" HotelCode="16233" HotelLocation="DEN" Name="COURTYARD MARRIOTT DEN CHERRY" VendorLocationKey="07gzsg3R2BKA/h9wAAAAAA==" HotelTransportation="9" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>1475 SOUTH COLORADO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.6902" longitude="-104.9407" />
      <common_v36_0:Distance Units="MI" Value="22" Direction="SW" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD125.10" MaximumAmount="USD224.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="LQ" VendorLocationID="45262" Key="07gzsg3R2BKAAi9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="LQ" HotelCode="45262" HotelLocation="DEN" Name="LA QUINTA INN STE WESTMINSTER" VendorLocationKey="07gzsg3R2BKAAi9wAAAAAA==" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>WESTMINSTER  CO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.8806" longitude="-105.0747" />
      <common_v36_0:Distance Units="MI" Value="22" Direction="W" />
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>2</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD89.00" MaximumAmount="USD129.00" />
  </hotel:HotelSearchResult>
  <hotel:HotelSearchResult>
    <common_v36_0:VendorLocation ProviderCode="1G" VendorCode="BR" VendorLocationID="50765" Key="07gzsg3R2BKABi9wAAAAAA==" />
    <hotel:HotelProperty HotelChain="BR" HotelCode="50765" HotelLocation="DEN" Name="RENAISSANCE BOULDER FLATIRON" VendorLocationKey="07gzsg3R2BKABi9wAAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
      <hotel:PropertyAddress>
        <hotel:Address>BROOMFIELD CO</hotel:Address>
      </hotel:PropertyAddress>
      <common_v36_0:CoordinateLocation latitude="39.9279" longitude="-105.1305" />
      <common_v36_0:Distance Units="MI" Value="27" Direction="W" />
      <hotel:HotelRating RatingProvider="AAA">
        <hotel:Rating>3</hotel:Rating>
      </hotel:HotelRating>
      <hotel:HotelRating RatingProvider="NTM">
        <hotel:Rating>4</hotel:Rating>
      </hotel:HotelRating>
    </hotel:HotelProperty>
    <hotel:RateInfo MinimumAmount="USD119.00" MaximumAmount="USD179.00" />
  </hotel:HotelSearchResult>
</hotel:HotelSearchAvailabilityRsp>

Thanks & Regards Vivekjyoti Pramanik

al13bash commented 8 years ago

Seems like 1P provider doesnt return coordinates. I have similar request, but don't have coordinates and distance for hotel search result in response.

vivekjyotipramanik commented 8 years ago

Hi al13bash,

We are checking this and we will provide an update soon. Thanks.

Thanks & Regards Vivekjyoti Pramanik

evgenTraytyak commented 7 years ago

@vivekjyotipramanik :up:

vivekjyotipramanik commented 7 years ago

Hi al13bash,

We have checked and as of now Coordinates are not available in HotelAvailabilityResponse for 1P. Thanks.

Thanks & Regards Vivekjyoti Pramanik

miaoyaoyao commented 7 years ago

I have test this, but it does not work in 1G, both v36 and v40 not return coordinates。

vivekjyotipramanik commented 7 years ago

Hi miaoyaoyao,

Could you please provide the XML request which you have used to run the HotelAvailabilitySearchRequest. Also,UAPI 1G HotelCoordinates depends on provisioning. Could you please contact your Travelport Account Manager to check if your credentials are provisioned to receive hotel geo coordinates in hotel availability response. Thanks.

miaoyaoyao commented 7 years ago

@vivekjyotipramanik Thank you , I'll contact my account manage.