SIG AirShopRQ

From TAIS Documentation
(Difference between revisions)
Jump to: navigation, search
(Low Fare Search Request ans Selection)
m
 
(8 intermediate revisions by one user not shown)
Line 4: Line 4:
 
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.
  
For detailed description see [[media:SIG.xsd|SIG.xsd]]
+
{{DetailedXSD}}
  
 
== Samples ==
 
== Samples ==
Line 10: 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>
Line 19: Line 18:
 
         <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 ====
 
==== Round trip for two adult passengers with child ====
<nowiki>
+
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
+
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 34: Line 32:
 
         <PaxType Count="1" AgeCat="CHD" PTRef="child"/>
 
         <PaxType Count="1" AgeCat="CHD" PTRef="child"/>
 
     </PaxTypes>
 
     </PaxTypes>
</SIG_AirShopRQ></nowiki>
+
</SIG_AirShopRQ></syntaxhighlight>
  
  
==== Closed loop with direct flights only ====
+
==== Circle trip with direct flights only ====
Also used ignored AK list and promo code.  
+
Also used ignored AK list and promo code. The reply is limited by 10 options.
<nowiki>
+
 
<?xml version="1.0" encoding="UTF-8"?>
+
<syntaxhighlight lang="xml">
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 53: Line 51:
 
     <FarePref PromoCode="REDFISH"/>
 
     <FarePref PromoCode="REDFISH"/>
 
     <SearchOptions MaxResults="10"/>
 
     <SearchOptions MaxResults="10"/>
</SIG_AirShopRQ></nowiki>
+
</SIG_AirShopRQ></syntaxhighlight>
 
+
  
 
==== Open jaw on LH and SU ====
 
==== Open jaw on LH and SU ====
<nowiki>
+
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
+
 
<SIG_AirShopRQ CustomerID="TestUser"
 
<SIG_AirShopRQ CustomerID="TestUser"
 
     <Itinerary>
 
     <Itinerary>
Line 70: Line 66:
 
     <FlightPref DesiredAirlines="LH SU"/>
 
     <FlightPref DesiredAirlines="LH SU"/>
 
     <SearchOptions MaxResults="25"/>
 
     <SearchOptions MaxResults="25"/>
</SIG_AirShopRQ></nowiki>
+
</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