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

HotelSearchAvailabilityRsp is not returning mediaItem #198

Open jadchahine opened 7 years ago

jadchahine commented 7 years ago

Hello, what should I do in the code to get the media item values?

Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:HotelSearchAvailabilityReq xmlns:ns2="http://www.travelport.com/schema/hotel_v38_0" xmlns:ns3="http://www.travelport.com/schema/vehicle_v38_0" xmlns:ns4="http://www.travelport.com/schema/common_v38_0" TargetBranch="P7004925">
            <ns4:BillingPointOfSaleInfo OriginApplication="UAPI"/>
            <ns2:HotelSearchLocation>
                <ns2:HotelLocation Location="MSP" LocationType="City"/>
                <ns2:ReferencePoint>Mall Of America</ns2:ReferencePoint>
                <ns4:Distance Units="KM" Value="25"/>
            </ns2:HotelSearchLocation>
            <ns2:HotelSearchModifiers NumberOfAdults="2" NumberOfRooms="2" AvailableHotelsOnly="true">
                <ns4:PermittedProviders>
                    <ns4:Provider Code="1G"/>
                </ns4:PermittedProviders>
            </ns2:HotelSearchModifiers>
            <ns2:HotelStay>
                <ns2:CheckinDate>2016-12-28</ns2:CheckinDate>
                <ns2:CheckoutDate>2016-12-30</ns2:CheckoutDate>
            </ns2:HotelStay>
        </ns2:HotelSearchAvailabilityReq>
    </soap:Body>
</soap:Envelope>

Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <hotel:HotelSearchAvailabilityRsp TransactionId="5D9853060A07643C7CD6B1C5420D0E54" ResponseTime="7454" xmlns:hotel="http://www.travelport.com/schema/hotel_v38_0" xmlns:common_v38_0="http://www.travelport.com/schema/common_v38_0">
            <common_v38_0:ResponseMessage Code="5504" Type="Warning">"Available Hotels Only" is set to true, in hotel search availability request, some hotels that may match other search criteria, are removed from response.</common_v38_0:ResponseMessage>
            <common_v38_0:NextResultReference ProviderCode="1G">OWsy2Pra0305azLY+trTfY64hfcxd+rAWAuIVnnF+GmgbVXKRARIgqLbrrG+zVA2q/QZl/GavOHXuQrGfO52j43N5U/AGJUdImiGzi+RKm7Xhw1wICcaAQ==</common_v38_0:NextResultReference>
            <hotel:ReferencePoint State="MN">MALL OF AMERICA</hotel:ReferencePoint>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HH" VendorLocationID="05192" Key="WEZzsg8Q2BKA2fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HH" HotelCode="05192" HotelLocation="MSP" Name="HILTON MINNEAPOLIS ARPT M-OF- A" VendorLocationKey="WEZzsg8Q2BKA2fH8BAAAAA==" HotelTransportation="24" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>3800 E 80TH STREET</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="3" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD99.00" MaximumAmount="USD229.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="CP" VendorLocationID="03121" Key="WEZzsg8Q2BKA3fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="CP" HotelCode="03121" HotelLocation="MSP" Name="CROWNE PLAZA MSP AIRPORT MALL" VendorLocationKey="WEZzsg8Q2BKA3fH8BAAAAA==" HotelTransportation="24" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD85.99" MinAmountRateChanged="false" MaximumAmount="USD129.99" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="GI" VendorLocationID="31732" Key="WEZzsg8Q2BKA4fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="GI" HotelCode="31732" HotelLocation="MSP" Name="HILTON GI MINNEAPOLIS AIRPORT MALL" VendorLocationKey="WEZzsg8Q2BKA4fH8BAAAAA==" HotelTransportation="31" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>1601 EAST AMERICAN B</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NW"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD139.00" MaximumAmount="USD171.72"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="FN" VendorLocationID="62184" Key="WEZzsg8Q2BKA5fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="FN" HotelCode="62184" HotelLocation="MSP" Name="FAIRFIELD INN N STES MARRIOTT" VendorLocationKey="WEZzsg8Q2BKA5fH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD129.00" MaximumAmount="USD169.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="MC" VendorLocationID="01108" Key="WEZzsg8Q2BKA6fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="MC" HotelCode="01108" HotelLocation="MSP" Name="MINNEAPOLIS AIRPORT MARRIOTT" VendorLocationKey="WEZzsg8Q2BKA6fH8BAAAAA==" HotelTransportation="24" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>2020 AMERICAN BLVD E</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="N"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD109.95" MaximumAmount="USD259.95"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="CY" VendorLocationID="94020" Key="WEZzsg8Q2BKA7fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="CY" HotelCode="94020" HotelLocation="MSP" Name="COURTYARD BLOOMINGTON MARRIOTT" VendorLocationKey="WEZzsg8Q2BKA7fH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NW"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD116.10" MaximumAmount="USD249.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="ES" VendorLocationID="67637" Key="WEZzsg8Q2BKA8fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="ES" HotelCode="67637" HotelLocation="MSP" Name="EMBASSY STES MINNEAPOLIS ARPT" VendorLocationKey="WEZzsg8Q2BKA8fH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>7901 34TH AVE SOUTH</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD159.00" MaximumAmount="USD269.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="RC" VendorLocationID="92978" Key="WEZzsg8Q2BKA9fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="RC" HotelCode="92978" HotelLocation="MSP" Name="RESIDENCE INN BLMGTON MARRIOTT" VendorLocationKey="WEZzsg8Q2BKA9fH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NW"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD134.10" MaximumAmount="USD274.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="XV" VendorLocationID="12180" Key="WEZzsg8Q2BKA+fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="XV" HotelCode="12180" HotelLocation="MSP" Name="SPRINGHILL STES ARPT MARRIOTT" VendorLocationKey="WEZzsg8Q2BKA+fH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD112.00" MaximumAmount="USD314.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HG" VendorLocationID="95103" Key="WEZzsg8Q2BKA/fH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HG" HotelCode="95103" HotelLocation="MSP" Name="HMEWD STE MINNEAPLIS MALL AMER" VendorLocationKey="WEZzsg8Q2BKA/fH8BAAAAA==" HotelTransportation="31" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>2261 KILLIBREW DR</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="0" Direction="N"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD129.00" MaximumAmount="USD229.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HY" VendorLocationID="84192" Key="WEZzsg8Q2BKAAgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HY" HotelCode="84192" HotelLocation="MSP" Name="HYATT PLACE MINNEAPOLIS ARPT SOUTH" VendorLocationKey="WEZzsg8Q2BKAAgH8BAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD189.00" MaximumAmount="USD199.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HX" VendorLocationID="03114" Key="WEZzsg8Q2BKABgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HX" HotelCode="03114" HotelLocation="MSP" Name="HAMPTON STE MINNEAPOLIS ST PAUL" VendorLocationKey="WEZzsg8Q2BKABgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD122.55" MaximumAmount="USD249.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="MC" VendorLocationID="B5070" Key="WEZzsg8Q2BKACgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="MC" HotelCode="B5070" HotelLocation="MSP" Name="JW MARRIOTT MALL OF AMERICA" VendorLocationKey="WEZzsg8Q2BKACgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>2141 LINDAU LANE</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="0" Direction="N"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD199.00" MaximumAmount="USD349.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="CX" VendorLocationID="47694" Key="WEZzsg8Q2BKADgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="CX" HotelCode="47694" HotelLocation="MSP" Name="COUNTRY INN STES MALL AMERICA" VendorLocationKey="WEZzsg8Q2BKADgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Deposit" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="0" Direction="N"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD75.00" MinAmountRateChanged="false" MaximumAmount="USD210.00" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="BW" VendorLocationID="03174" Key="WEZzsg8Q2BKAEgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="BW" HotelCode="03174" HotelLocation="MSP" Name="BEST WESTERN PLUS BLOOMINGTON" VendorLocationKey="WEZzsg8Q2BKAEgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="0" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD139.99" MaximumAmount="USD169.99"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="TO" VendorLocationID="B5263" Key="WEZzsg8Q2BKAFgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="TO" HotelCode="B5263" HotelLocation="MSP" Name="TOWNEPLACE STES MALL MARRIOTT" VendorLocationKey="WEZzsg8Q2BKAFgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD99.00" MaximumAmount="USD204.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="AA" VendorLocationID="34361" Key="WEZzsg8Q2BKAGgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="AA" HotelCode="34361" HotelLocation="MSP" Name="AMERICINN BLOOMINGTON EAST" VendorLocationKey="WEZzsg8Q2BKAGgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>RICHFIELD MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="2" Direction="NW"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD64.99" MaximumAmount="USD129.99"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HI" VendorLocationID="02927" Key="WEZzsg8Q2BKAHgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HI" HotelCode="02927" HotelLocation="MSP" Name="HOLIDAY INN ARPT SOUTH-MALL AR" VendorLocationKey="WEZzsg8Q2BKAHgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>35W AND 94TH STREET</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="5" Direction="SW"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD99.00" MinAmountRateChanged="false" MaximumAmount="USD139.00" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HI" VendorLocationID="A1396" Key="WEZzsg8Q2BKAIgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HI" HotelCode="A1396" HotelLocation="MSP" Name="HOLIDAY INN EXP STES BLOOMINGTO" VendorLocationKey="WEZzsg8Q2BKAIgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>7770 JOHNSON AVE</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD94.00" MinAmountRateChanged="false" MaximumAmount="USD159.00" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HI" VendorLocationID="C1884" Key="WEZzsg8Q2BKAJgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HI" HotelCode="C1884" HotelLocation="MSP" Name="HOLIDAY INN EXP STES EAGAN" VendorLocationKey="WEZzsg8Q2BKAJgH8BAAAAA==" HotelTransportation="7" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>3434 WASHINGTON DR</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD99.00" MinAmountRateChanged="false" MaximumAmount="USD159.99" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="EA" VendorLocationID="86439" Key="WEZzsg8Q2BKAKgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="EA" HotelCode="86439" HotelLocation="MSP" Name="EXTENDED STAY AMERICA EAGAN S" VendorLocationKey="WEZzsg8Q2BKAKgH8BAAAAA==" HotelTransportation="9" ReserveRequirement="Other" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD76.49" MaximumAmount="USD109.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HX" VendorLocationID="57429" Key="WEZzsg8Q2BKALgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HX" HotelCode="57429" HotelLocation="MSP" Name="HAMPTON INN MINNEAPOLIS EAGAN" VendorLocationKey="WEZzsg8Q2BKALgH8BAAAAA==" HotelTransportation="31" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD124.00" MaximumAmount="USD179.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HT" VendorLocationID="B8001" Key="WEZzsg8Q2BKAMgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HT" HotelCode="B8001" HotelLocation="MSP" Name="HOME2 MINNEAPOLIS/BLOOMINGTON" VendorLocationKey="WEZzsg8Q2BKAMgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>2270 WEST 80 1/2 STR</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD159.00" MaximumAmount="USD209.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="GI" VendorLocationID="93610" Key="WEZzsg8Q2BKANgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="GI" HotelCode="93610" HotelLocation="MSP" Name="HILTON GARDEN INN EAGAN" VendorLocationKey="WEZzsg8Q2BKANgH8BAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="S"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD89.99" MaximumAmount="USD299.99"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="AA" VendorLocationID="18213" Key="WEZzsg8Q2BKAOgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="AA" HotelCode="18213" HotelLocation="MSP" Name="AMERICINN BLOOMINGTON WEST" VendorLocationKey="WEZzsg8Q2BKAOgH8BAAAAA==" HotelTransportation="7" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>4201 W 80TH ST</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD101.15" MaximumAmount="USD159.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HH" VendorLocationID="73818" Key="WEZzsg8Q2BKAPgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HH" HotelCode="73818" HotelLocation="MSP" Name="HILTON MINNEAPOLIS BLOOMINGTON" VendorLocationKey="WEZzsg8Q2BKAPgH8BAAAAA==" HotelTransportation="9" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD189.00" MaximumAmount="USD259.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="BW" VendorLocationID="12304" Key="WEZzsg8Q2BKAQgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="BW" HotelCode="12304" HotelLocation="MSP" Name="BEST WESTERN PLUS DAKOTA RIDGE" VendorLocationKey="WEZzsg8Q2BKAQgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD124.99" MaximumAmount="USD189.99"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="FN" VendorLocationID="37920" Key="WEZzsg8Q2BKARgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="FN" HotelCode="37920" HotelLocation="MSP" Name="FAIRFIELD INN N STES MARRIOTT" VendorLocationKey="WEZzsg8Q2BKARgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Other" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>MENDOTA HEIGHTS MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD107.00" MaximumAmount="USD169.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="HI" VendorLocationID="03418" Key="WEZzsg8Q2BKASgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="HI" HotelCode="03418" HotelLocation="MSP" Name="HOLIDAY INN MPLS ARPT SE-MALL" VendorLocationKey="WEZzsg8Q2BKASgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD93.00" MinAmountRateChanged="false" MaximumAmount="USD189.00" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="EA" VendorLocationID="94454" Key="WEZzsg8Q2BKATgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="EA" HotelCode="94454" HotelLocation="MSP" Name="EXTENDED STAY AMERICA EAGAN N" VendorLocationKey="WEZzsg8Q2BKATgH8BAAAAA==" HotelTransportation="9" ReserveRequirement="Guarantee" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="E"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD85.49" MaximumAmount="USD115.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="TO" VendorLocationID="17854" Key="WEZzsg8Q2BKAUgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="TO" HotelCode="17854" HotelLocation="MSP" Name="TOWNEPLACE STES ARPT MARRIOTT" VendorLocationKey="WEZzsg8Q2BKAUgH8BAAAAA==" HotelTransportation="9" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>EAGAN MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="SE"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD103.00" MaximumAmount="USD139.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="YZ" VendorLocationID="34974" Key="WEZzsg8Q2BKAVgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="YZ" HotelCode="34974" HotelLocation="MSP" Name="STAYBRIDGE SUITES BLOOMINGTON" VendorLocationKey="WEZzsg8Q2BKAVgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="4" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD93.99" MinAmountRateChanged="false" MaximumAmount="USD159.99" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="ES" VendorLocationID="24392" Key="WEZzsg8Q2BKAWgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="ES" HotelCode="24392" HotelLocation="MSP" Name="EMBASSY SUITES BLOOMINGTON MN" VendorLocationKey="WEZzsg8Q2BKAWgH8BAAAAA==" HotelTransportation="26" ReserveRequirement="Guarantee" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>2800 WEST 80TH ST</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="6" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD149.00" MaximumAmount="USD224.00"/>
            </hotel:HotelSearchResult>
            <hotel:HotelSearchResult>
                <common_v38_0:VendorLocation ProviderCode="1G" VendorCode="CX" VendorLocationID="41300" Key="WEZzsg8Q2BKAXgH8BAAAAA=="/>
                <hotel:HotelProperty HotelChain="CX" HotelCode="41300" HotelLocation="MSP" Name="COUNTRY INN BLOOMINGTON WEST" VendorLocationKey="WEZzsg8Q2BKAXgH8BAAAAA==" HotelTransportation="31" ReserveRequirement="Other" ParticipationLevel="2" Availability="Available">
                    <hotel:PropertyAddress>
                        <hotel:Address>BLOOMINGTON MN</hotel:Address>
                    </hotel:PropertyAddress>
                    <common_v38_0:Distance Units="KM" Value="8" Direction="W"/>
                </hotel:HotelProperty>
                <hotel:RateInfo MinimumAmount="USD139.00" MinAmountRateChanged="false" MaximumAmount="USD199.00" MaxAmountRateChanged="false"/>
            </hotel:HotelSearchResult>
        </hotel:HotelSearchAvailabilityRsp>
    </SOAP:Body>
</SOAP:Envelope>

What about media item?

Thanks&Regards

jadchahine commented 7 years ago

Also how can I get the amount per night? should I calculate it by dividing the max amount on the number of nights?

NirandaG commented 7 years ago

Hi JadChahine,

The HotelSearchAvailabilityRsp will be returning the approximate room rate per day starting from. If you want the total based with hotel rules you may need to send the following HotelDetails request.

`xml

<soapenv:Body>
    <hot:HotelDetailsReq xmlns:com="http://www.travelport.com/schema/common_v34_0" xmlns:hot="http://www.travelport.com/schema/hotel_v34_0" ReturnMediaLinks="true" TargetBranch="PXXXXXX">
        <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
        <hot:HotelProperty HotelChain="LQ" HotelCode="94229" Name="LA QUINTA INN STE DEN AP DIA"/>
        <hot:HotelDetailsModifiers NumberOfAdults="1" RateRuleDetail="Complete">
            <com:PermittedProviders>
                <com:Provider Code="1G"/>
            </com:PermittedProviders>
            <hot:HotelStay>
                <hot:CheckinDate>2016-12-10</hot:CheckinDate>
                <hot:CheckoutDate>2016-12-11</hot:CheckoutDate>
            </hot:HotelStay>
        </hot:HotelDetailsModifiers>
    </hot:HotelDetailsReq>
</soapenv:Body>

`xml/soapenv:Envelope

Regarding the Media: Media request is a separate XML request and you need to pass the below request to obtain Media links for Hotels.

`xml

<soapenv:Body>
    <HotelMediaLinksReq xmlns="http://www.travelport.com/schema/hotel_v36_0" TraceId="trace" AuthorizedBy="user" TargetBranch="PXXXXX" SizeCode="E">
        <BillingPointOfSaleInfo xmlns="http://www.travelport.com/schema/common_v36_0" OriginApplication="uAPI"/>
        <HotelProperty HotelCode="77511" HotelChain="ES"/>
</HotelMediaLinksReq>
</soapenv:Body>

`xml/soapenv:Envelope

Thank you, B.Rgds, Niranda

jadchahine commented 7 years ago

Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:HotelMediaLinksReq xmlns:ns2="http://www.travelport.com/schema/hotel_v38_0" xmlns:ns3="http://www.travelport.com/schema/vehicle_v38_0" xmlns:ns4="http://www.travelport.com/schema/common_v38_0" TargetBranch="P7004925">
            <ns4:BillingPointOfSaleInfo OriginApplication="UAPI"/>
            <ns2:HotelProperty HotelChain="HX" HotelCode="78186"/>
        </ns2:HotelMediaLinksReq>
    </soap:Body>
</soap:Envelope>

Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <hotel:HotelMediaLinksRsp TransactionId="640C8C6C0A07643CC5F09ADA2D53C1D2" ResponseTime="210" xmlns:hotel="http://www.travelport.com/schema/hotel_v38_0" xmlns:common_v38_0="http://www.travelport.com/schema/common_v38_0">
            <hotel:HotelPropertyWithMediaItems>
                <hotel:HotelProperty HotelChain="HX" HotelCode="78186"/>
                <common_v38_0:MediaItem caption="Virtual Tour" type="Gallery" url="https://www.vfmii.com/exc/aspquery?command=invoke&amp;ipid=HX4426&amp;ids=42337&amp;RM=N" icon="https://www.vfmii.com//medlib/static_load_images/galileo_richmedia_icon-film.png"/>
            </hotel:HotelPropertyWithMediaItems>
        </hotel:HotelMediaLinksRsp>
    </SOAP:Body>
</SOAP:Envelope>

I got invalid request in icon within MediaItem, I test many hotel code, and all of them gives invalid icons, why? And why we are getting only one icon? can travelport api return to us many images?

Thanks

vivekjyotipramanik commented 7 years ago

Hi JadChahine,

To get many images please use the HotelMediaLinksRequest which can provide images for a particular Hotel Property as well as images from 20 Hotel Properties at once. Please find below the sample request and response. Please let me know how it goes. Thanks.

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/007-02_1G_HotelMedia_Rq.xml

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/007-02_1G_HotelMedia_Rs.xml

Thanks & Regards Vivekjyoti Pramanik

jadchahine commented 7 years ago

Hi VivekJyoti,

What's wrong in the request?

Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:HotelMediaLinksReq xmlns:ns2="http://www.travelport.com/schema/hotel_v38_0" xmlns:ns3="http://www.travelport.com/schema/vehicle_v38_0" xmlns:ns4="http://www.travelport.com/schema/common_v38_0" RichMedia="true" Gallery="true" TargetBranch="P7004925">
            <ns4:BillingPointOfSaleInfo OriginApplication="UAPI"/>
            <ns2:HotelProperty HotelChain="HI" HotelCode="43163" HotelLocation="SYD" Name="HOLIDAY INN SYDNEY AIRPORT" VendorLocationKey="VendorLocationKey" HotelTransportation="1000">
                <ns2:PropertyAddress>
                    <ns2:Address>CORNER OF BOURKE ROA</ns2:Address>
                </ns2:PropertyAddress>
            </ns2:HotelProperty>
        </ns2:HotelMediaLinksReq>
    </soap:Body>
</soap:Envelope>

Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <hotel:HotelMediaLinksRsp TransactionId="64737FE10A07643B7EFA7C9CC5033684" ResponseTime="154" xmlns:hotel="http://www.travelport.com/schema/hotel_v38_0" xmlns:common_v38_0="http://www.travelport.com/schema/common_v38_0">
            <hotel:HotelPropertyWithMediaItems>
                <hotel:HotelProperty HotelChain="HI" HotelCode="43163" HotelLocation="SYD" Name="HOLIDAY INN SYDNEY AIRPORT" VendorLocationKey="VendorLocationKey" HotelTransportation="1000">
                    <hotel:PropertyAddress>
                        <hotel:Address>CORNER OF BOURKE ROA</hotel:Address>
                    </hotel:PropertyAddress>
                </hotel:HotelProperty>
                <common_v38_0:MediaItem caption="Virtual Tour" type="Gallery" url="https://www.vfmii.com/exc/aspquery?command=invoke&amp;ipid=HI2960&amp;ids=42337&amp;RM=N" icon="https://www.vfmii.com//medlib/static_load_images/galileo_richmedia_icon-film.png"/>
            </hotel:HotelPropertyWithMediaItems>
        </hotel:HotelMediaLinksRsp>
    </SOAP:Body>
</SOAP:Envelope>
vivekjyotipramanik commented 7 years ago

Hi Jad,

There are few optional items which is being sent with invalid values. But it is not impacting the result. For this particular Hotel there are not many images available. That is why it is only returning the gallery which is available. Please try with the below xml request with a different Hotel property. Please let me know how it goes. Thanks.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:HotelMediaLinksReq TargetBranch="TRGT_BRCH" xmlns:ns2="http://www.travelport.com/schema/hotel_v38_0" xmlns:ns3="http://www.travelport.com/schema/vehicle_v38_0" xmlns:ns4="http://www.travelport.com/schema/common_v38_0">
         <ns4:BillingPointOfSaleInfo OriginApplication="UAPI"/>
         <ns2:HotelProperty HotelChain="HI" HotelCode="43163">
         </ns2:HotelProperty>
      </ns2:HotelMediaLinksReq>
   </soap:Body>
</soap:Envelope>

Thanks & Regards Vivekjyoti Pramanik

jadchahine commented 7 years ago

Hi Vivekyoti,

I tried many hotel property address and all of them are returning one icon only

Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:HotelMediaLinksReq xmlns:ns2="http://www.travelport.com/schema/hotel_v38_0" xmlns:ns3="http://www.travelport.com/schema/vehicle_v38_0" xmlns:ns4="http://www.travelport.com/schema/common_v38_0" RichMedia="true" Gallery="true" TargetBranch="P7004925">
            <ns4:BillingPointOfSaleInfo OriginApplication="UAPI"/>
            <ns2:HotelProperty HotelChain="HI" HotelCode="43163">
                <ns2:PropertyAddress>
                    <ns2:Address>1001 MARQUET AVENUE</ns2:Address>
                </ns2:PropertyAddress>
            </ns2:HotelProperty>
        </ns2:HotelMediaLinksReq>
    </soap:Body>
</soap:Envelope>

Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <hotel:HotelMediaLinksRsp TransactionId="69331F870A07643B7EFA7C9C1D81182C" ResponseTime="177" xmlns:hotel="http://www.travelport.com/schema/hotel_v38_0" xmlns:common_v38_0="http://www.travelport.com/schema/common_v38_0">
            <hotel:HotelPropertyWithMediaItems>
                <hotel:HotelProperty HotelChain="HI" HotelCode="43163">
                    <hotel:PropertyAddress>
                        <hotel:Address>1001 MARQUET AVENUE</hotel:Address>
                    </hotel:PropertyAddress>
                </hotel:HotelProperty>
                <common_v38_0:MediaItem caption="Virtual Tour" type="Gallery" url="https://www.vfmii.com/exc/aspquery?command=invoke&amp;ipid=HI2960&amp;ids=42337&amp;RM=N" icon="https://www.vfmii.com//medlib/static_load_images/galileo_richmedia_icon-film.png"/>
            </hotel:HotelPropertyWithMediaItems>
        </hotel:HotelMediaLinksRsp>
    </SOAP:Body>
</SOAP:Envelope>

Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:HotelMediaLinksReq xmlns:ns2="http://www.travelport.com/schema/hotel_v38_0" xmlns:ns3="http://www.travelport.com/schema/vehicle_v38_0" xmlns:ns4="http://www.travelport.com/schema/common_v38_0" RichMedia="true" Gallery="true" TargetBranch="P7004925">
            <ns4:BillingPointOfSaleInfo OriginApplication="UAPI"/>
            <ns2:HotelProperty HotelChain="HI" HotelCode="43163">
                <ns2:PropertyAddress>
                    <ns2:Address>710 MARQUETTE AVE</ns2:Address>
                </ns2:PropertyAddress>
            </ns2:HotelProperty>
        </ns2:HotelMediaLinksReq>
    </soap:Body>
</soap:Envelope>

Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <hotel:HotelMediaLinksRsp TransactionId="6935835E0A07643B7EFA7C9C84245D3A" ResponseTime="188" xmlns:hotel="http://www.travelport.com/schema/hotel_v38_0" xmlns:common_v38_0="http://www.travelport.com/schema/common_v38_0">
            <hotel:HotelPropertyWithMediaItems>
                <hotel:HotelProperty HotelChain="HI" HotelCode="43163">
                    <hotel:PropertyAddress>
                        <hotel:Address>710 MARQUETTE AVE</hotel:Address>
                    </hotel:PropertyAddress>
                </hotel:HotelProperty>
                <common_v38_0:MediaItem caption="Virtual Tour" type="Gallery" url="https://www.vfmii.com/exc/aspquery?command=invoke&amp;ipid=HI2960&amp;ids=42337&amp;RM=N" icon="https://www.vfmii.com//medlib/static_load_images/galileo_richmedia_icon-film.png"/>
            </hotel:HotelPropertyWithMediaItems>
        </hotel:HotelMediaLinksRsp>
    </SOAP:Body>
</SOAP:Envelope>
vivekjyotipramanik commented 7 years ago

Hi JadChahine,

Could you please try with the below request. Please let me know how it goes. Thanks.

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
<HotelMediaLinksReq xmlns="http://www.travelport.com/schema/hotel_v36_0" TraceId="192c1b02-8a9c-483e-9515-e3815a8f4420" AuthorizedBy="Travelport" TargetBranch="P7004925" SizeCode="E">
  <BillingPointOfSaleInfo xmlns="http://www.travelport.com/schema/common_v36_0" OriginApplication="uAPI" />
  <HotelProperty HotelCode="53177" HotelChain="TO" />
</HotelMediaLinksReq>
 </SOAP:Body>
</SOAP:Envelope>

Thanks & Regards Vivekjyoti Pramanik

jadchahine commented 7 years ago

Hi VivekJyoti,

It is returning many photos for this hotel code and chain, thanks.

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <hotel:HotelMediaLinksRsp TransactionId="6957F7650A07643B7EFA7C9C910500F0" ResponseTime="246" xmlns:hotel="http://www.travelport.com/schema/hotel_v38_0" xmlns:common_v38_0="http://www.travelport.com/schema/common_v38_0">
            <hotel:HotelPropertyWithMediaItems>
                <hotel:HotelProperty HotelChain="TO" HotelCode="53177"/>
                <common_v38_0:MediaItem caption="Business Center" height="208" width="300" type="OTHER" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/54/denta_phototour12_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="Exterior" height="69" width="100" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_B.jpg" sizeCode="T"/>
                <common_v38_0:MediaItem caption="Exterior" height="104" width="150" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_C.jpg" sizeCode="I"/>
                <common_v38_0:MediaItem caption="Exterior" height="138" width="200" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_D.jpg" sizeCode="S"/>
                <common_v38_0:MediaItem caption="Exterior" height="173" width="250" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_E.jpg" sizeCode="M"/>
                <common_v38_0:MediaItem caption="Exterior" height="208" width="300" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="Exterior" height="300" width="300" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_G.jpg" sizeCode="F"/>
                <common_v38_0:MediaItem caption="Exterior" height="242" width="350" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_H.jpg" sizeCode="J"/>
                <common_v38_0:MediaItem caption="Exterior" height="70" width="70" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_A.jpg" sizeCode="G"/>
                <common_v38_0:MediaItem caption="Exterior" height="266" width="384" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_I.jpg" sizeCode="L"/>
                <common_v38_0:MediaItem caption="Exterior" height="332" width="480" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_J.jpg" sizeCode="E"/>
                <common_v38_0:MediaItem caption="Exterior" height="477" width="689" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/145/483/TPS_Exterior_P.jpg" sizeCode="O"/>
                <common_v38_0:MediaItem caption="Exterior" height="70" width="70" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_A.jpg" sizeCode="G"/>
                <common_v38_0:MediaItem caption="Exterior" height="69" width="100" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_B.jpg" sizeCode="T"/>
                <common_v38_0:MediaItem caption="Exterior" height="104" width="150" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_C.jpg" sizeCode="I"/>
                <common_v38_0:MediaItem caption="Exterior" height="138" width="200" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_D.jpg" sizeCode="S"/>
                <common_v38_0:MediaItem caption="Exterior" height="173" width="250" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_E.jpg" sizeCode="M"/>
                <common_v38_0:MediaItem caption="Exterior" height="208" width="300" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="Exterior" height="300" width="300" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_G.jpg" sizeCode="F"/>
                <common_v38_0:MediaItem caption="Exterior" height="242" width="350" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_H.jpg" sizeCode="J"/>
                <common_v38_0:MediaItem caption="Exterior" height="266" width="384" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_I.jpg" sizeCode="L"/>
                <common_v38_0:MediaItem caption="Exterior" height="332" width="480" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_J.jpg" sizeCode="E"/>
                <common_v38_0:MediaItem caption="Exterior" height="477" width="689" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/51/207/951/denta_phototour21_P.jpg" sizeCode="O"/>
                <common_v38_0:MediaItem caption="Entrance" height="70" width="70" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_A.jpg" sizeCode="G"/>
                <common_v38_0:MediaItem caption="Entrance" height="69" width="100" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_B.jpg" sizeCode="T"/>
                <common_v38_0:MediaItem caption="Entrance" height="104" width="150" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_C.jpg" sizeCode="I"/>
                <common_v38_0:MediaItem caption="Entrance" height="138" width="200" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_D.jpg" sizeCode="S"/>
                <common_v38_0:MediaItem caption="Entrance" height="173" width="250" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_E.jpg" sizeCode="M"/>
                <common_v38_0:MediaItem caption="Entrance" height="242" width="350" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_H.jpg" sizeCode="J"/>
                <common_v38_0:MediaItem caption="Entrance" height="266" width="384" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_I.jpg" sizeCode="L"/>
                <common_v38_0:MediaItem caption="Entrance" height="332" width="480" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_J.jpg" sizeCode="E"/>
                <common_v38_0:MediaItem caption="Entrance" height="477" width="689" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_P.jpg" sizeCode="O"/>
                <common_v38_0:MediaItem caption="Entrance" height="208" width="300" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="Entrance" height="300" width="300" type="EXT" url="https://d2whcypojkzby.cloudfront.net/imageRepo/2/0/47/146/800/denta_phototour17_G.jpg" sizeCode="F"/>
                <common_v38_0:MediaItem caption="Front Desk" height="138" width="200" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_D.jpg" sizeCode="S"/>
                <common_v38_0:MediaItem caption="Front Desk" height="70" width="70" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_A.jpg" sizeCode="G"/>
                <common_v38_0:MediaItem caption="Front Desk" height="69" width="100" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_B.jpg" sizeCode="T"/>
                <common_v38_0:MediaItem caption="Front Desk" height="104" width="150" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_C.jpg" sizeCode="I"/>
                <common_v38_0:MediaItem caption="Front Desk" height="173" width="250" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_E.jpg" sizeCode="M"/>
                <common_v38_0:MediaItem caption="Front Desk" height="208" width="300" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="Front Desk" height="300" width="300" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_G.jpg" sizeCode="F"/>
                <common_v38_0:MediaItem caption="Front Desk" height="242" width="350" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_H.jpg" sizeCode="J"/>
                <common_v38_0:MediaItem caption="Front Desk" height="266" width="384" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_I.jpg" sizeCode="L"/>
                <common_v38_0:MediaItem caption="Front Desk" height="332" width="480" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_J.jpg" sizeCode="E"/>
                <common_v38_0:MediaItem caption="Front Desk" height="477" width="689" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/10/denta_phototour01_P.jpg" sizeCode="O"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="70" width="70" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_A.jpg" sizeCode="G"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="138" width="200" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_D.jpg" sizeCode="S"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="173" width="250" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_E.jpg" sizeCode="M"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="208" width="300" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="300" width="300" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_G.jpg" sizeCode="F"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="242" width="350" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_H.jpg" sizeCode="J"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="266" width="384" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_I.jpg" sizeCode="L"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="332" width="480" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_J.jpg" sizeCode="E"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="477" width="689" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_P.jpg" sizeCode="O"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="69" width="100" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_B.jpg" sizeCode="T"/>
                <common_v38_0:MediaItem caption="Lobby Sitting Area" height="104" width="150" type="LOBBY" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/14/denta_phototour03_C.jpg" sizeCode="I"/>
                <common_v38_0:MediaItem caption="TowneMap" height="70" width="70" type="MAP" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/18/denta_phototour02_A.jpg" sizeCode="G"/>
                <common_v38_0:MediaItem caption="TowneMap" height="69" width="100" type="MAP" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/18/denta_phototour02_B.jpg" sizeCode="T"/>
                <common_v38_0:MediaItem caption="TowneMap" height="104" width="150" type="MAP" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/18/denta_phototour02_C.jpg" sizeCode="I"/>
                <common_v38_0:MediaItem caption="TowneMap" height="138" width="200" type="MAP" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/18/denta_phototour02_D.jpg" sizeCode="S"/>
                <common_v38_0:MediaItem caption="TowneMap" height="173" width="250" type="MAP" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/18/denta_phototour02_E.jpg" sizeCode="M"/>
                <common_v38_0:MediaItem caption="TowneMap" height="208" width="300" type="MAP" url="https://d2whcypojkzby.cloudfront.net/imageRepo/3/0/46/733/18/denta_phototour02_F.jpg" sizeCode="B"/>
                <common_v38_0:MediaItem caption="TowneMap" height="300" width="300" type="MAP" url="

........................................