Read operation returns information about existing PNR by PNR 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:
- read flow — returns information about existing PNR by PNR number.
Table of contents
Request (OrderCreateRQ)
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 |
4 | 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 |