Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExcursion PickUp Locations List Request Sample XML
Code Block
languagexml
<ota:GP<GP_ExcursionDescriptiveInfoRQ LocationsListOnly="true" PrimaryLangID="en" 
     EchoToken="EchoToken" Version="2" xmlns:ota="http://www.opentravel.org/OTA/2003/05">
   <POS>
  <ota:POS>    <Source>
  <ota:Source>       <ota:RequestorID<RequestorID ID="claclient" MessagePassword="pwapwd" Type="22"/>
         <ota:BookingChannel<BookingChannel Type="7" PriceDomain="1"/>
      </ota:Source>
   </ota:POS>
   <ota:ExcursionDescriptiveInfos><ExcursionDescriptiveInfos>
      <ota:ExcursionDescriptiveInfo<ExcursionDescriptiveInfo BookingCode="12b4"/>
   </ota:ExcursionDescriptiveInfos>
</ota:GP_ExcursionDescriptiveInfoRQ>

...

Expand
titleExcursion PickUp Locations List Response Sample XML
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<GP_ExcursionDescriptiveInfoRS Version="2" EchoToken="EchoToken" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <ExcursionDescriptiveContents>
      <ExcursionDescriptiveContent ExcursionCode="1002" 
      ExcursionName="London Cruise" ExcursionCityCode="LON" 
      ExcursionCodeContext="gtasupplierCode" ExcursionDuration="3.5">
    <!--<Categories>     <Categories>
            <Category Code="SIGHT">
               <Text Language="en"> Tours Sightseeing </Text>>Tours Sightseeing</Text>
            </Category>
         </Categories> -->
         <Departures>
            <Departure RPH="1">
               <DeparturePoint Type="PickUp" HotelCodeSupported="true" AddressSupported="false">Hotel Pick Up</DeparturePoint>
               <Hotels>
                  <Hotel HotelName="ABCONE" HotelCodeContext="gtasupplierCode" HotelCode="LON.ABC" HotelCityCode="LON">
                     <Position Longitude="-0.1859" Latitude="51.494"/>
                     <Address>
                        <AddressLine>10 Ashburn Gardens London SW7 4DG United Kingdom</AddressLine>
                        <CityName>London</CityName>
                        <PostalCode>08950</PostalCode>
                        <CountryName>United Kingdom</CountryName>
                     </Address>
                  </Hotel>
                  <Hotel HotelName="ADMIRAL" HotelCodeContext="gtasupplierCode" HotelCode="LON.ADM" HotelCityCode="LON">
                     <Position Longitude="-0.172" Latitude="51.5152"/>
                     <Address>
                        <AddressLine>143 Sussex Gardens Hyde Park London W2 2RY United Kingdom</AddressLine>
                        <CityName>London</CityName>
                        <PostalCode>08950</PostalCode>
                        <CountryName>United Kingdom</CountryName>
                     </Address>
                  </Hotel>
               </Hotels>
            </Departure>
         </Departures>
      </ExcursionDescriptiveContent>
   </ExcursionDescriptiveContents> 
</GP_ExcursionDescriptiveInfoRS>

...

Code Block
languagexml
<GP_ExcursionDescriptiveInfoRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
    <Errors>
        <Error Code="172" Language="en" RecordID="newfrontsupplierCode" ShortText="Requested action not possible" Status="NOT_SENT" Tag="NORMAL" Type="3">Supplier does not support operation LocationsList.</Error>
    </Errors>
</GP_ExcursionDescriptiveInfoRS>