SIG AirShopRQ

From TAIS Documentation
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 11: Line 11:
 
==== One way trip for one adult passenger ====
 
==== One way trip for one adult passenger ====
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 24: Line 23:
 
==== Round trip for two adult passengers with child ====
 
==== Round trip for two adult passengers with child ====
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 41: Line 39:
  
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 58: Line 55:
 
==== Open jaw on LH and SU ====
 
==== Open jaw on LH and SU ====
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 75: Line 71:
 
==== Option selection ====
 
==== Option selection ====
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
       <SelectedShopOption SessionID="6546598453546313" OptionRef="24">
 
       <SelectedShopOption SessionID="6546598453546313" OptionRef="24">

Latest revision as of 23:03, 11 September 2012

Contents

[edit] Low Fare Search Request ans Selection

Allows to search low fares for any type on itinerary - one way, round trip, closed loop or open jaw. The search might be refined using different kind of search conditions and filters.

For detailed description see SIG Web Service data types definition and check latest WSDL at SIG Web Service Definition

[edit] Samples

[edit] One way trip for one adult passenger

<SIG_AirShopRQ CustomerID="TestUser"
   <Itinerary>
        <OriginDestination ODRef="1" To="mow" From="par" Date="2013-03-10"/>
        </Itinerary>
    <PaxTypes>
        <PaxType Count="1" AgeCat="ADT" PTRef="adt0"/>
    </PaxTypes>
</SIG_AirShopRQ>

[edit] Round trip for two adult passengers with child

<SIG_AirShopRQ CustomerID="TestUser"
   <Itinerary>
        <OriginDestination ODRef="1a" To="mow" From="par" Date="2013-03-10"/>
        <OriginDestination ODRef="1b" To="par" From="mow" Date="2013-03-17"/>
    </Itinerary>
    <PaxTypes>
        <PaxType Count="2" AgeCat="ADT" PTRef="adt0"/>
        <PaxType Count="1" AgeCat="CHD" PTRef="child"/>
    </PaxTypes>
</SIG_AirShopRQ>


[edit] Circle trip with direct flights only

Also used ignored AK list and promo code. The reply is limited by 10 options.

<SIG_AirShopRQ CustomerID="TestUser"
   <Itinerary>
        <OriginDestination ODRef="2a" To="mow" From="par" Date="2013-03-10"/>
        <OriginDestination ODRef="2b" To="fra" From="mow" Date="2013-03-17"/>
        <OriginDestination ODRef="2c" To="par" From="fra" Date="2013-03-21"/>
    </Itinerary>
    <PaxTypes>
        <PaxType Count="1" AgeCat="ADT" PTRef="adt0"/>
    </PaxTypes>
    <FlightPref Cabin="B" IgnoredAirlines="BA AB" ConnPref="D"/>
    <FarePref PromoCode="REDFISH"/>
    <SearchOptions MaxResults="10"/>
</SIG_AirShopRQ>

[edit] Open jaw on LH and SU

<SIG_AirShopRQ CustomerID="TestUser"
   <Itinerary>
        <OriginDestination ODRef="3a" To="mow" From="par" Date="2013-03-10"/>
        <OriginDestination ODRef="3b" To="fra" From="mow" Date="2013-03-17"/>
        <OriginDestination ODRef="3c" To="lon" From="muc" Date="2013-03-21"/>
    </Itinerary>
    <PaxTypes>
        <PaxType Count="1" AgeCat="ADT" PTRef="adt0"/>
    </PaxTypes>
    <FlightPref DesiredAirlines="LH SU"/>
    <SearchOptions MaxResults="25"/>
</SIG_AirShopRQ>


[edit] Option selection

<SIG_AirShopRQ CustomerID="TestUser"
      <SelectedShopOption SessionID="6546598453546313" OptionRef="24">
                <SelectedFlights FlightRef="431"/>
                <SelectedFlights FlightRef="433"/>
                <SelectedFlights FlightRef="436"/>
        </SelectedShopOption>
</SIG_AirShopRQ>

See also Transaction list

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox