SIG AirShopRQ

From TAIS Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with " == 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 ...")
 
m
 
(11 intermediate revisions by one user not shown)
Line 3: Line 3:
  
 
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.
 
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.
 +
 +
{{DetailedXSD}}
  
 
== Samples ==
 
== Samples ==
Line 8: Line 10:
  
 
==== One way trip for one adult passenger ====
 
==== One way trip for one adult passenger ====
<nowiki>
+
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
+
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
            <Itinerary>
+
    <Itinerary>
                        <OriginDestination ODRef="1" To="mow" From="par" Date="2013-03-10"/>
+
        <OriginDestination ODRef="1" To="mow" From="par" Date="2013-03-10"/>
            </Itinerary>
+
        </Itinerary>
            <PaxTypes>
+
    <PaxTypes>
                        <PaxType Count="1" AgeCat="ADT" PTRef="adt0"/>
+
        <PaxType Count="1" AgeCat="ADT" PTRef="adt0"/>
            </PaxTypes>
+
    </PaxTypes>
</SIG_AirShopRQ></nowiki>
+
</SIG_AirShopRQ>
 +
</syntaxhighlight>
  
 +
==== Round trip for two adult passengers with child ====
 +
<syntaxhighlight lang="xml">
 +
<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></syntaxhighlight>
  
==== Round trip for two adult passenger with child ====
+
 
<nowiki>
+
==== Circle trip with direct flights only ====
<?xml version="1.0" encoding="UTF-8"?>
+
Also used ignored AK list and promo code. The reply is limited by 10 options.
 +
 
 +
<syntaxhighlight lang="xml">
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
            <Itinerary>
+
    <Itinerary>
                        <OriginDestination ODRef="1a" To="mow" From="par" Date="2013-03-10"/>
+
        <OriginDestination ODRef="2a" To="mow" From="par" Date="2013-03-10"/>
                        <OriginDestination ODRef="1b" To="par" From="mow" Date="2013-03-17"/>
+
        <OriginDestination ODRef="2b" To="fra" From="mow" Date="2013-03-17"/>
            </Itinerary>
+
        <OriginDestination ODRef="2c" To="par" From="fra" Date="2013-03-21"/>
            <PaxTypes>
+
    </Itinerary>
                        <PaxType Count="2" AgeCat="ADT" PTRef="adt0"/>
+
    <PaxTypes>
                        <PaxType Count="1" AgeCat="CHD" PTRef="child"/>
+
        <PaxType Count="1" AgeCat="ADT" PTRef="adt0"/>
            </PaxTypes>
+
    </PaxTypes>
</SIG_AirShopRQ></nowiki>
+
    <FlightPref Cabin="B" IgnoredAirlines="BA AB" ConnPref="D"/>
 +
    <FarePref PromoCode="REDFISH"/>
 +
    <SearchOptions MaxResults="10"/>
 +
</SIG_AirShopRQ></syntaxhighlight>
 +
 
 +
==== Open jaw on LH and SU ====
 +
<syntaxhighlight lang="xml">
 +
<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></syntaxhighlight>
 +
 
 +
 
 +
==== Option selection ====
 +
<syntaxhighlight lang="xml">
 +
<SIG_AirShopRQ CustomerID="TestUser"
 +
      <SelectedShopOption SessionID="6546598453546313" OptionRef="24">
 +
                <SelectedFlights FlightRef="431"/>
 +
                <SelectedFlights FlightRef="433"/>
 +
                <SelectedFlights FlightRef="436"/>
 +
        </SelectedShopOption>
 +
</SIG_AirShopRQ></syntaxhighlight>
 +
 
 +
----
 +
See also [[Transaction list]]

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