Read operation returns information about existing PNR by PNR number in 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:
read flow — returns information about existing PNR by PNR number.
Table of contents
Table of Contents |
---|
Request (OrderRetrieveRQ)
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/OrderRetrieveRQ/Party/Sender/AgentUserSender |
2 | Booking reservation number information | PNR from booking method RS | /Envelope/Body/OrderRetrieveRQ/Query/Filters/BookingReferences/BookingReference/ID |
Response (OrderViewRS)
Name | Format/Reference | xPath | |
---|---|---|---|
1 | Passengers information | This element contains information about passengers: name, surname, date of birth, contacts, passport data, etc. | /Envelope/Body/OrderViewRS/Response/Passengers/Passenger |
2 | Booking reservation number | PNR | /Envelope/Body/OrderViewRS/Response/Order/BookingReferences |
3 | Ticketing Time Limit | TTL | /Envelope/Body/OrderViewRS/Response/Order/TimeLimits/PaymentTimeLimit |
4 | Itinerary information | Itinerary information | /Envelope/Body/OrderViewRS/Response/Order/OrderItems |
Samples
1А | OW + 1xADT + Direct + S7 flight | v0.52 | read operation
Include Page | ||||
---|---|---|---|---|
|
1А | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | read operation
Include Page | ||||
---|---|---|---|---|
|
Subsidized fare+ OW + 1xSRC + Direct | v0.52 | read operation
Include Page | ||||
---|---|---|---|---|
|
|
Subsidised fare+ RT+1xYTR+1CHD+1INF+Transfer | v0.52 | read operation
Include Page | ||||
---|---|---|---|---|
|