- Created by Valeriya Shishkova, last modified by Uliana Arefina on 11.08.2021
RetrieveTicket operation returns information about existing ETK by ETK number in XML.
The following case supported by the Shopping API and provides required inputs as well as a list of common inputs used with that case:
retrieveTicket flow — returns information about existing ETK by ETK number.
Table of contents
Request (/wiki/spaces/GAAPI/pages/165871662)
Required inputs
Name | Format/Reference | xPath | |
---|---|---|---|
1 | Block of access parameters | Use credentials that you received from our technical support. Check out Quick Start | S7 Agent API for how to get it and References for more details | /Envelope/Body/AirDocDisplayRQ/Party/Sender/AgentUserSender |
2 | Electronic ticket number information | ETK number from ticketing method RS | /Envelope/Body/AirDocDisplayRQ/Query/TicketDocument/TicketDocNbr |
3 | Document type | ETK type | /Envelope/Body/AirDocDisplayRQ/Query/TicketDocument/TicketDocNbr/Type/Code |
Response ( AirDocDisplayRS)
Name | Format/Reference | xPath | |
---|---|---|---|
1 | Passenger information | Passenger name, surname and type | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /TravelerInfo |
2 | Booking information | PNR and passenger object key | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /BookingReference |
3 | Total price | Total price | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /Payments |
4 | Journey information | Origin and destination airports | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /OriginDestination |
5 | Pricing information | Information about fares, taxes and endorsements | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /FareInfo |
6 | Issued document information | Document number, type, date of issue and status | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /TicketDocument |
7 | Coupons information | Coupons information by segment | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /TicketDocument /CouponInfo /SoldAirlineInfo |
8 | Transfer inscriptions and restrictions | Transfer inscriptions and restrictions | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /Commission |
9 | Passenger document number | Passenger document number | /Envelope/Body /AirDocDisplayRS /Response /TicketDocInfos /TicketDocInfo /PassengerSpecificData |
Samples
OW + 1xADT + Direct + S7 flight | v0.52 | retrieveTicket operation
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <AirDocDisplayRQ xmlns="http://www.iata.org/IATA/EDIST" Version=""> <Document /> <Party> <Sender> <AgentUserSender> <Name>S7-AIDL</Name> <OtherIDs> <OtherID Description="POS_Type">1</OtherID> <OtherID Description="requestorType">U</OtherID> </OtherIDs> <PseudoCity>OVBS728AB</PseudoCity> <AgentUserID>S7AgentAPI</AgentUserID> <UserRole>AS</UserRole> </AgentUserSender> </Sender> </Party> <Query> <TicketDocument> <TicketDocNbr>2402062327</TicketDocNbr> <Type> <Code>702</Code> </Type> </TicketDocument> </Query> </AirDocDisplayRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirDocDisplayRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success /> <ns3:Response> <ns3:TicketDocInfos> <ns3:TicketDocInfo> <ns3:Traveler> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>PONTIUS</ns3:Given> <ns3:PTC>ADT</ns3:PTC> </ns3:Traveler> <ns3:IssuingAirlineInfo> <ns3:AirlineName>S7</ns3:AirlineName> </ns3:IssuingAirlineInfo> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>UXX22O</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:Payments> <ns3:Payment> <ns3:Method /> <ns3:Amount Code="RUB">31671.00</ns3:Amount> </ns3:Payment> </ns3:Payments> <ns3:OriginDestination> <ns3:Origin>DME</ns3:Origin> <ns3:Destination>KUF</ns3:Destination> </ns3:OriginDestination> <ns3:FareInfo> <ns3:BaseFare> <ns3:Amount Code="RUB">30100.00</ns3:Amount> </ns3:BaseFare> <ns3:EquivFare> <ns3:Amount Code="RUB">30100.00</ns3:Amount> </ns3:EquivFare> <ns3:Total> <ns3:Amount Code="RUB">31671.00</ns3:Amount> </ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">1571.00</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">1300</ns3:Amount> <ns3:TaxCode>YR</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">100</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">171</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> <ns3:UnstructuredFareCalcInfo> <ns3:Info>MOW S7 KUF30100.00RUB30100.00END</ns3:Info> </ns3:UnstructuredFareCalcInfo> </ns3:FareInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212402062327</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-07-17</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YFLOW</ns3:Code> </ns3:FareBasisCode> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2019-09-20</ns3:Date> <ns3:Time>12:25</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>KUF</ns3:AirportCode> <ns3:Date>2019-09-20</ns3:Date> <ns3:Time>15:10</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>33</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1" /> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:TicketDocument> <ns3:TicketDocNbr>4218200731500</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>Y</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-07-17</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:Status> <ns3:Code>ISSUED</ns3:Code> </ns3:Status> <ns3:DateOfService>2019-09-20</ns3:DateOfService> <ns3:Value Code="RUB">1600.00</ns3:Value> <ns3:PresentInfo To="KUF" At="DME" /> <ns3:ReasonForIssuance> <ns3:Code>0CC</ns3:Code> </ns3:ReasonForIssuance> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:TicketDocument> <ns3:TicketDocNbr>4218200731501</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>Y</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-07-17</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:Status> <ns3:Code>ISSUED</ns3:Code> </ns3:Status> <ns3:DateOfService>2019-09-20</ns3:DateOfService> <ns3:Value Code="RUB">1600.00</ns3:Value> <ns3:PresentInfo To="KUF" At="DME" /> <ns3:ReasonForIssuance> <ns3:Code>0CD</ns3:Code> </ns3:ReasonForIssuance> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:Commission> <ns3:Amount>0</ns3:Amount> <ns3:Remarks> <ns3:Remark>S7 ONLY/REF/CHNG/RESTR</ns3:Remark> <ns3:Remark>INCL VAT 2879.18RUB</ns3:Remark> </ns3:Remarks> </ns3:Commission> <ns3:PassengerSpecificData>111111111</ns3:PassengerSpecificData> </ns3:TicketDocInfo> </ns3:TicketDocInfos> </ns3:Response> </ns3:AirDocDisplayRS> </ns2:Body> </ns2:Envelope>
First ET | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | retrieveTicket operation
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <AirDocDisplayRQ xmlns="http://www.iata.org/IATA/EDIST" Version=""> <Document /> <Party> <Sender> <AgentUserSender> <Name>S7-AIDL</Name> <OtherIDs> <OtherID Description="POS_Type">1</OtherID> <OtherID Description="requestorType">U</OtherID> </OtherIDs> <PseudoCity>OVBS728AB</PseudoCity> <AgentUserID>S7AgentAPI</AgentUserID> <UserRole>AS</UserRole> </AgentUserSender> </Sender> </Party> <Query> <TicketDocument> <TicketDocNbr>2402010146</TicketDocNbr> <Type> <Code>702</Code> </Type> </TicketDocument> </Query> </AirDocDisplayRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirDocDisplayRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success /> <ns3:Response> <ns3:TicketDocInfos> <ns3:TicketDocInfo> <ns3:Traveler> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>PONTIUS</ns3:Given> <ns3:PTC>ADT</ns3:PTC> </ns3:Traveler> <ns3:IssuingAirlineInfo> <ns3:AirlineName>S7</ns3:AirlineName> </ns3:IssuingAirlineInfo> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>TBVJU6</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:Payments> <ns3:Payment> <ns3:Method /> <ns3:Amount Code="RUB">294270.00</ns3:Amount> </ns3:Payment> </ns3:Payments> <ns3:OriginDestination> <ns3:Origin>DME</ns3:Origin> <ns3:Destination>DME</ns3:Destination> </ns3:OriginDestination> <ns3:FareInfo> <ns3:BaseFare> <ns3:Amount Code="RUB">102000.00</ns3:Amount> </ns3:BaseFare> <ns3:EquivFare> <ns3:Amount Code="RUB">102000.00</ns3:Amount> </ns3:EquivFare> <ns3:Total> <ns3:Amount Code="RUB">106668.00</ns3:Amount> </ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">4668.00</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">4200</ns3:Amount> <ns3:TaxCode>YR</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">234</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">234</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> <ns3:UnstructuredFareCalcInfo> <ns3:Info>MOW S7 OVB51000.00S7 MOW51000.00RUB102000.00END</ns3:Info> </ns3:UnstructuredFareCalcInfo> </ns3:FareInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212402010146</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>2</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-04-19</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YFLRT</ns3:Code> </ns3:FareBasisCode> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2019-06-14</ns3:Date> <ns3:Time>17:00</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2019-06-15</ns3:Date> <ns3:Time>01:05</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>181</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1" /> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> <ns3:CouponInfo> <ns3:CouponNumber>2</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YFLRT</ns3:Code> </ns3:FareBasisCode> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2019-06-20</ns3:Date> <ns3:Time>06:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2019-06-20</ns3:Date> <ns3:Time>06:40</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>178</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1" /> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:Commission> <ns3:Amount>0</ns3:Amount> <ns3:Remarks> <ns3:Remark>S7 ONLY/REF/CHNG/RESTR</ns3:Remark> <ns3:Remark>INCL VAT 9697.09RUB</ns3:Remark> </ns3:Remarks> </ns3:Commission> <ns3:PassengerSpecificData>111111111</ns3:PassengerSpecificData> </ns3:TicketDocInfo> </ns3:TicketDocInfos> </ns3:Response> </ns3:AirDocDisplayRS> </ns2:Body> </ns2:Envelope>
Third ET | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | retrieveTicket operation
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <AirDocDisplayRQ xmlns="http://www.iata.org/IATA/EDIST" Version=""> <Document /> <Party> <Sender> <AgentUserSender> <Name>S7-AIDL</Name> <OtherIDs> <OtherID Description="POS_Type">1</OtherID> <OtherID Description="requestorType">U</OtherID> </OtherIDs> <PseudoCity>OVBS728AB</PseudoCity> <AgentUserID>S7AgentAPI</AgentUserID> <UserRole>AS</UserRole> </AgentUserSender> </Sender> </Party> <Query> <TicketDocument> <TicketDocNbr>2402010148</TicketDocNbr> <Type> <Code>702</Code> </Type> </TicketDocument> </Query> </AirDocDisplayRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirDocDisplayRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success /> <ns3:Response> <ns3:TicketDocInfos> <ns3:TicketDocInfo> <ns3:Traveler> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>SEVDA</ns3:Given> <ns3:PTC>CHD</ns3:PTC> </ns3:Traveler> <ns3:IssuingAirlineInfo> <ns3:AirlineName>S7</ns3:AirlineName> </ns3:IssuingAirlineInfo> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>TBVJU6</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:Payments> <ns3:Payment> <ns3:Method /> <ns3:Amount Code="RUB">294270.00</ns3:Amount> </ns3:Payment> </ns3:Payments> <ns3:OriginDestination> <ns3:Origin>DME</ns3:Origin> <ns3:Destination>DME</ns3:Destination> </ns3:OriginDestination> <ns3:FareInfo> <ns3:BaseFare> <ns3:Amount Code="RUB">76500.00</ns3:Amount> </ns3:BaseFare> <ns3:EquivFare> <ns3:Amount Code="RUB">76500.00</ns3:Amount> </ns3:EquivFare> <ns3:Total> <ns3:Amount Code="RUB">80934.00</ns3:Amount> </ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">4434.00</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">4200</ns3:Amount> <ns3:TaxCode>YR</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">117</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">117</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> <ns3:UnstructuredFareCalcInfo> <ns3:Info>MOW S7 OVB38250.00S7 MOW38250.00RUB76500.00END</ns3:Info> </ns3:UnstructuredFareCalcInfo> </ns3:FareInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212402010148</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>2</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-04-19</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YFLRT</ns3:Code> </ns3:FareBasisCode> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2019-06-14</ns3:Date> <ns3:Time>17:00</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2019-06-15</ns3:Date> <ns3:Time>01:05</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>181</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1" /> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> <ns3:CouponInfo> <ns3:CouponNumber>2</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YFLRT</ns3:Code> </ns3:FareBasisCode> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2019-06-20</ns3:Date> <ns3:Time>06:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2019-06-20</ns3:Date> <ns3:Time>06:40</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>178</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1" /> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:Commission> <ns3:Amount>0</ns3:Amount> <ns3:Remarks> <ns3:Remark>S7 ONLY/REF/CHNG/RESTR</ns3:Remark> <ns3:Remark>INCL VAT 7357.64RUB</ns3:Remark> </ns3:Remarks> </ns3:Commission> <ns3:PassengerSpecificData>311111111</ns3:PassengerSpecificData> </ns3:TicketDocInfo> </ns3:TicketDocInfos> </ns3:Response> </ns3:AirDocDisplayRS> </ns2:Body> </ns2:Envelope>
OW + 1xADT + Direct + S7 flight | TKT + EMD baggage | v0.52 | retrieveTicket operation
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <AirDocDisplayRQ xmlns="http://www.iata.org/IATA/EDIST" Version=""> <Document /> <Party> <Sender> <AgentUserSender> <Name>S7-AIDL</Name> <OtherIDs> <OtherID Description="POS_Type">1</OtherID> <OtherID Description="requestorType">U</OtherID> </OtherIDs> <PseudoCity>OVBS728AB</PseudoCity> <AgentUserID>S7AgentAPI</AgentUserID> <UserRole>AS</UserRole> </AgentUserSender> </Sender> </Party> <Query> <TicketDocument> <TicketDocNbr>2402062327</TicketDocNbr> <Type> <Code>702</Code> </Type> </TicketDocument> </Query> </AirDocDisplayRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirDocDisplayRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success /> <ns3:Response> <ns3:TicketDocInfos> <ns3:TicketDocInfo> <ns3:Traveler> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>PONTIUS</ns3:Given> <ns3:PTC>ADT</ns3:PTC> </ns3:Traveler> <ns3:IssuingAirlineInfo> <ns3:AirlineName>S7</ns3:AirlineName> </ns3:IssuingAirlineInfo> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>UXX22O</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:Payments> <ns3:Payment> <ns3:Method /> <ns3:Amount Code="RUB">31671.00</ns3:Amount> </ns3:Payment> </ns3:Payments> <ns3:OriginDestination> <ns3:Origin>DME</ns3:Origin> <ns3:Destination>KUF</ns3:Destination> </ns3:OriginDestination> <ns3:FareInfo> <ns3:BaseFare> <ns3:Amount Code="RUB">30100.00</ns3:Amount> </ns3:BaseFare> <ns3:EquivFare> <ns3:Amount Code="RUB">30100.00</ns3:Amount> </ns3:EquivFare> <ns3:Total> <ns3:Amount Code="RUB">31671.00</ns3:Amount> </ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">1571.00</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">1300</ns3:Amount> <ns3:TaxCode>YR</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">100</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">171</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> <ns3:UnstructuredFareCalcInfo> <ns3:Info>MOW S7 KUF30100.00RUB30100.00END</ns3:Info> </ns3:UnstructuredFareCalcInfo> </ns3:FareInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212402062327</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-07-17</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YFLOW</ns3:Code> </ns3:FareBasisCode> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2019-09-20</ns3:Date> <ns3:Time>12:25</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>KUF</ns3:AirportCode> <ns3:Date>2019-09-20</ns3:Date> <ns3:Time>15:10</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>33</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1" /> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:TicketDocument> <ns3:TicketDocNbr>4218200731500</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>Y</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-07-17</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:Status> <ns3:Code>ISSUED</ns3:Code> </ns3:Status> <ns3:DateOfService>2019-09-20</ns3:DateOfService> <ns3:Value Code="RUB">1600.00</ns3:Value> <ns3:PresentInfo To="KUF" At="DME" /> <ns3:ReasonForIssuance> <ns3:Code>0CC</ns3:Code> </ns3:ReasonForIssuance> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:TicketDocument> <ns3:TicketDocNbr>4218200731501</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>Y</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2019-07-17</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:Status> <ns3:Code>ISSUED</ns3:Code> </ns3:Status> <ns3:DateOfService>2019-09-20</ns3:DateOfService> <ns3:Value Code="RUB">1600.00</ns3:Value> <ns3:PresentInfo To="KUF" At="DME" /> <ns3:ReasonForIssuance> <ns3:Code>0CD</ns3:Code> </ns3:ReasonForIssuance> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:Commission> <ns3:Amount>0</ns3:Amount> <ns3:Remarks> <ns3:Remark>S7 ONLY/REF/CHNG/RESTR</ns3:Remark> <ns3:Remark>INCL VAT 2879.18RUB</ns3:Remark> </ns3:Remarks> </ns3:Commission> <ns3:PassengerSpecificData>111111111</ns3:PassengerSpecificData> </ns3:TicketDocInfo> </ns3:TicketDocInfos> </ns3:Response> </ns3:AirDocDisplayRS> </ns2:Body> </ns2:Envelope>
Subsidised fare+OW+1xSRC+Direct | v0.52 | retrieveTicket operation
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <AirDocDisplayRQ xmlns="http://www.iata.org/IATA/EDIST" Version=""> <Document /> <Party> <Sender> <AgentUserSender> <Name>S7-AIDL</Name> <OtherIDs> <OtherID Description="POS_Type">1</OtherID> <OtherID Description="requestorType">U</OtherID> </OtherIDs> <PseudoCity>OVBS728AB</PseudoCity> <AgentUserID>S7AgentAPI</AgentUserID> <UserRole>AS</UserRole> </AgentUserSender> </Sender> </Party> <Query> <TicketDocument> <TicketDocNbr>4212413712671</TicketDocNbr> <Type> <Code>702</Code> </Type> </TicketDocument> </Query> </AirDocDisplayRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirDocDisplayRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:TicketDocInfos> <ns3:TicketDocInfo> <ns3:Traveler> <ns3:Surname>VICTOR</ns3:Surname> <ns3:Given>HUGO</ns3:Given> <ns3:PTC>SRC</ns3:PTC> </ns3:Traveler> <ns3:IssuingAirlineInfo> <ns3:AirlineName>S7</ns3:AirlineName> </ns3:IssuingAirlineInfo> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>Q5TY5R</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:Payments> <ns3:Payment> <ns3:Method/> <ns3:Amount Code="RUB">5900.00</ns3:Amount> </ns3:Payment> </ns3:Payments> <ns3:OriginDestination> <ns3:Origin>OVB</ns3:Origin> <ns3:Destination>VVO</ns3:Destination> </ns3:OriginDestination> <ns3:FareInfo> <ns3:BaseFare> <ns3:Amount Code="RUB">5900.00</ns3:Amount> </ns3:BaseFare> <ns3:Total> <ns3:Amount Code="RUB">5900.00</ns3:Amount> </ns3:Total> <ns3:UnstructuredFareCalcInfo> <ns3:Info>OVB S7 VVO5900.00RUB5900.00END</ns3:Info> </ns3:UnstructuredFareCalcInfo> </ns3:FareInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212413712671</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2020-05-18</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>AFLOW</ns3:Code> </ns3:FareBasisCode> <ns3:CouponValid> <ns3:EffectiveDatePeriod> <ns3:Expiration>2020-12-31</ns3:Expiration> </ns3:EffectiveDatePeriod> </ns3:CouponValid> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2020-10-29</ns3:Date> <ns3:Time>23:05</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>VVO</ns3:AirportCode> <ns3:Date>2020-10-30</ns3:Date> <ns3:Time>07:50</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:ResBookDesigCode>A</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>5203</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:TicketedBaggageAllowance> <ns3:AllowableBag Type="PC" Number="1"/> </ns3:TicketedBaggageAllowance> </ns3:SoldAirlineInfo> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:Commission> <ns3:Amount>0</ns3:Amount> <ns3:Remarks> <ns3:Remark>S7 ONLY/REF/CHNG/RESTR/AFL</ns3:Remark> <ns3:Remark>2020-05-18T16:08</ns3:Remark> </ns3:Remarks> </ns3:Commission> <ns3:PassengerSpecificData>731445333</ns3:PassengerSpecificData> </ns3:TicketDocInfo> </ns3:TicketDocInfos> </ns3:Response> </ns3:AirDocDisplayRS> </ns2:Body> </ns2:Envelope>
- No labels