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

Unable to render {include} The included page could not be found.

First ET | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | retrieveTicket operation

Unable to render {include} The included page could not be found.

Third ET | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | retrieveTicket operation

Unable to render {include} The included page could not be found.

OW + 1xADT + Direct + S7 flight | TKT + EMD baggage | v0.52 | retrieveTicket operation

Unable to render {include} The included page could not be found.

Subsidised fare+OW+1xSRC+Direct | v0.52 | retrieveTicket operation

Unable to render {include} The included page could not be found.

  • No labels