XML Samples: Air
Samples include:
- Shop, price, book (minimum transactions to book air)
- More shopping and availability options
- Flight and fare information (seat map, flight details, fare display, air fare rules, flight information, time table)
- Post-booking options (ticketing, modify, cancel, import, retrieve, history, search)
Both the request and response XML are included in the text file link.
Choose a provider for samples:
Minimum shop, price, book
Shop for flights, price flights, and book the priced flights. A Universal Record is returned in the booking response.
Request | Description | Sample |
---|---|---|
Low Fare Shop (LFS) |
Low Fare Shop returns Air Price Points (default), which provides a price with a set of flight options for each leg of the journey. |
|
Price |
A price request is:
|
|
Book |
Returns a Universal Record (UR) with the air reservation (PNR) and traveler information. Important: The fare in the booking is not guaranteed until the fare is ticketed. |
More shopping and availability options
Air availability and Low Fare Shop requests are used to search for flights.
Request | Description | Sample |
---|---|---|
Low Fare Shop for Pricing Solution |
Returns Pricing Solutions, which provides a complete itinerary and price. |
|
Low Fare Shop Asynch |
In the asynchronous call, responses from providers are returned as they become available, instead of waiting until all provider data is obtained to return the entire response. |
|
Low Fare Shop One Way |
Returns flights on three different dates between three different city pairs. |
|
Flex Shopping |
Uses flexible shopping dates to return flights two days before and after the given date. |
|
Air Availability Round Trip |
Returns scheduled flights between cities on the dates requested and indicates if seats are available. This request does not include pricing; send a follow-on Air Pricing request. |
Flight and fare information
Request | Description | Sample |
---|---|---|
Flight Information |
Returns the real-time status of a flight and the scheduled flight information. |
|
Flight Details |
Returns scheduled flight information, including travel time, meals, and other information. |
|
Time Table |
Provides the ability to identify flight schedules by the day of the week. Request a specific flight or a general timetable. |
|
Seat Map |
Returns paid and standard (free) seats available for a given flight, as well as their location within the aircraft. |
|
Fare Display |
Returns all fares for the requested parameters, regardless of availability. Often followed by a Fare Rules request to determine the requirements and/or penalties associated with a specific tariff fare. |
|
Fare Rules |
Sends the AirFareDisplayRuleKey returned in the AirFareDisplayRsp and returns the requirements or penalties associated with the fare quote. |
|
Add an associated remark for Air, Hotel, Vehicle |
Add an associated remark for an air, hotel, and vehicle booking. |
Post-booking options
Function | Description | Sample |
---|---|---|
Ticketing |
Issues a ticket for the air booking. Ticketing can also include support documents, invoicing, handing off data, and MCOs. |
|
Retrieve air document |
Retrieve the air document, which includes ticketing information. |
|
Retrieve Universal Record |
Retrieves a Universal Record with an air booking. |
|
Retrieve Universal Record by Provider Locator Code | Retrieve a Universal Record by the provider locator code. |
|
Search |
When the Universal Record isn't known, search for it using data from a PNR within the Universal Record. |
|
Add air reservation |
Adds an air reservation to an existing Universal Record. |
|
Retrieve after modify |
Retrieves the Universal Record that was modified above by adding an air reservation. |
|
Import |
Create a Universal Record from a PNR that was created outside of Universal API. |
|
History |
Returns the history of actions taken on the Universal Record. |
|
Cancel an air segment |
Cancels one air segment in the Universal Record. All other segments remain. |
|
Retrieve after cancel |
Retrieves the Universal Record that was modified above when an air reservation was canceled. |
|
Cancel entire Universal Record |
Cancels all segments in a Universal Record. |
|
MCO Create |
|
|
MCO Issue |
|
|
MCO Retrieve |
|
|
MCO Exchange |
|