SIG AirBookRQ

From TAIS Documentation
(Difference between revisions)
Jump to: navigation, search
m
 
(6 intermediate revisions by one user not shown)
Line 2: Line 2:
 
== Create/modify/sell/cancel PNR ==
 
== Create/modify/sell/cancel PNR ==
  
For detailed description see [[media:SIG.xsd|SIG.xsd]]
+
{{DetailedXSD}}
  
 
== Samples ==
 
== Samples ==
Line 8: Line 8:
  
 
==== Create PNR with one adult passenger ====
 
==== Create PNR with one adult passenger ====
<nowiki>
+
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
 
<SelectedShopOption SessionID="6546598453546313" OptionRef="24">
 
<SelectedShopOption SessionID="6546598453546313" OptionRef="24">
Line 28: Line 28:
 
</Comments>
 
</Comments>
 
</Add>
 
</Add>
</SIG_AirBookRQ></nowiki>
+
</SIG_AirBookRQ></syntaxhighlight>
 +
 
  
 
==== Add remark into existing PNR ====
 
==== Add remark into existing PNR ====
<nowiki>
+
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
Line 39: Line 40:
 
</Remarks>
 
</Remarks>
 
</Add>
 
</Add>
</SIG_AirBookRQ></nowiki>
+
</SIG_AirBookRQ></syntaxhighlight>
 +
 
  
 
==== Modify passenger doc and contact data in existing PNR ====
 
==== Modify passenger doc and contact data in existing PNR ====
<nowiki>
+
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
Line 53: Line 55:
 
</Contacts>
 
</Contacts>
 
</Modify>
 
</Modify>
</SIG_AirBookRQ></nowiki>
+
</SIG_AirBookRQ></syntaxhighlight>
 +
 
  
 
==== Cancel entire itinerary ====
 
==== Cancel entire itinerary ====
<nowiki>
+
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<Cancel Itinerary="true">String</Cancel>
 
<Cancel Itinerary="true">String</Cancel>
 
</SIG_AirBookRQ>
 
</SIG_AirBookRQ>
</nowiki>
+
</syntaxhighlight>
 +
 
  
 
==== Cancel one segment only ====
 
==== Cancel one segment only ====
<nowiki>
+
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<Cancel>SVOCDG121226</Cancel>
 
<Cancel>SVOCDG121226</Cancel>
 
</SIG_AirBookRQ>
 
</SIG_AirBookRQ>
</nowiki>
+
</syntaxhighlight>
  
==== Sell PNR for cash and display itinerary receipt ====
+
 
<nowiki>
+
==== Issue ticket with cash form of payment and display plain-text itinerary receipt ====
 +
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<Issue>
 
<Issue>
 +
<Payment Amount="10000.0" FOP="CASH"/>
 
<TicketMods>
 
<TicketMods>
 
<TicketMod>
 
<TicketMod>
Line 81: Line 87:
 
<TourCode>WinterBeaches</TourCode>
 
<TourCode>WinterBeaches</TourCode>
 
<Comission>12%</Comission>
 
<Comission>12%</Comission>
<Payments>
 
<Payment Amount="10000.0" FOP="CASH"/>
 
</Payments>
 
 
</TicketMod>
 
</TicketMod>
 
</TicketMods>
 
</TicketMods>
 
</Issue>
 
</Issue>
 
<Display ItineraryReceits="true"/>
 
<Display ItineraryReceits="true"/>
</SIG_AirBookRQ></nowiki>
+
</SIG_AirBookRQ></syntaxhighlight>
 +
 
 +
 
 +
==== Issue ticket with Credit Card form of payment and display plain-text itinerary receipt ====
 +
<syntaxhighlight lang="xml">
 +
<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
 +
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 +
<Issue>
 +
<Payment Amount="23006.0" FOP="CC">
 +
<CreditCard AccountNumber="11xxxxxxxx44" ApprovalCode="AsdfASDf23rA" ExpirationDate="2014-12" CardHolder="Petrov Alexey" PaymentSystem="VI"/>
 +
</Payment>
 +
<TicketMods>
 +
<TicketMod>
 +
<Endorsment>PP/111111111111</Endorsment>
 +
<TourCode>WinterBeaches</TourCode>
 +
<Comission>12%</Comission>
 +
</TicketMod>
 +
</TicketMods>
 +
</Issue>
 +
<Display ItineraryReceits="true"/>
 +
</SIG_AirBookRQ></syntaxhighlight>
 +
 
  
 
==== Display ticket data and itinerary receipt ====
 
==== Display ticket data and itinerary receipt ====
<nowiki>
+
<syntaxhighlight lang="xml">
 
<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
 
<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 
<Display TicketData="true" ItineraryReceits="true"/>
 
<Display TicketData="true" ItineraryReceits="true"/>
</SIG_AirBookRQ></nowiki>
+
</SIG_AirBookRQ></syntaxhighlight>
 +
 
 +
 
 +
==== Get PNR ====
 +
<syntaxhighlight lang="xml">
 +
<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
 +
<BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
 +
</SIG_AirBookRQ></syntaxhighlight>
  
 
----
 
----
 
See also [[Transaction list]]
 
See also [[Transaction list]]

Latest revision as of 23:37, 6 September 2012

Contents

[edit] Create/modify/sell/cancel PNR

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

[edit] Samples

[edit] Create PNR with one adult passenger

<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
        <SelectedShopOption SessionID="6546598453546313" OptionRef="24">
                <SelectedFlights FlightRef="431"/>
                <SelectedFlights FlightRef="433"/>
                <SelectedFlights FlightRef="436"/>
        </SelectedShopOption>
        <Add>
                <Passengers>
                        <Passenger AgeType="ADT" DOB="1967-08-13" PaxRef="1" Title="MR"
                                   Surname="Smirnov" FFPAccount="111111111" FFPAirline="SU"
                                   DocExpiration="2020-03-23" Name="Alexander" DocNumber="11111111111"/>
                </Passengers>
                <Contacts>
                        <Contact CtcData="+79991112233" CtcType="M" CtcRef="1"/>
                </Contacts>
                <Comments>
                        <Comment Text="Booked by TrTravel Co #111111(ag.#333)" CmtRef="1"/>
                </Comments>
        </Add>
</SIG_AirBookRQ>


[edit] Add remark into existing PNR

<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Add>
                <Remarks>
                        <Remark RmkRef="1" PaxRefs="adt01" Text="peaches only" SSRCode="VGML" Quantity="1" FlightRef="zqEr453"/>
                </Remarks>
        </Add>
</SIG_AirBookRQ>


[edit] Modify passenger doc and contact data in existing PNR

<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Modify>
                <Passengers>
                        <Passenger PaxRef="1" Title="MR" Surname="Smirnov" Name="Alexander" DocNumber="22222222222"/>
                </Passengers>
                <Contacts>
                        <Contact CtcData="+79991112345" CtcType="M" CtcRef="mob_1"/>
                </Contacts>
        </Modify>
</SIG_AirBookRQ>


[edit] Cancel entire itinerary

<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Cancel Itinerary="true">String</Cancel>
</SIG_AirBookRQ>


[edit] Cancel one segment only

<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Cancel>SVOCDG121226</Cancel>
</SIG_AirBookRQ>


[edit] Issue ticket with cash form of payment and display plain-text itinerary receipt

<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Issue>
                <Payment Amount="10000.0" FOP="CASH"/>
                <TicketMods>
                        <TicketMod>
                                <Endorsment>PP/111111111111</Endorsment>
                                <TourCode>WinterBeaches</TourCode>
                                <Comission>12%</Comission>
                        </TicketMod>
                </TicketMods>
        </Issue>
        <Display ItineraryReceits="true"/>
</SIG_AirBookRQ>


[edit] Issue ticket with Credit Card form of payment and display plain-text itinerary receipt

<SIG_AirBookRQ SessionID="6543842185465483485484" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Issue>
                <Payment Amount="23006.0" FOP="CC">
                        <CreditCard AccountNumber="11xxxxxxxx44" ApprovalCode="AsdfASDf23rA" ExpirationDate="2014-12" CardHolder="Petrov Alexey" PaymentSystem="VI"/>
                </Payment>
                <TicketMods>
                        <TicketMod>
                                <Endorsment>PP/111111111111</Endorsment>
                                <TourCode>WinterBeaches</TourCode>
                                <Comission>12%</Comission>
                        </TicketMod>
                </TicketMods>
        </Issue>
        <Display ItineraryReceits="true"/>
</SIG_AirBookRQ>


[edit] Display ticket data and itinerary receipt

<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
        <Display TicketData="true" ItineraryReceits="true"/>
</SIG_AirBookRQ>


[edit] Get PNR

<SIG_AirBookRQ SessionID="" CustomerID="TestUser">
        <BookingIdentity BookingReference="QS4HDG/1H" LeadPassenger="Ivanov"/>
</SIG_AirBookRQ>

See also Transaction list

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox