Skip to main content

Book Air Segment

2.2.0
Air
Reservation
SOAP API

The Book Air Segment (OTA_AirBookLLSRQ)API  is used to book one or more flight segments.

Target Audience
Travel Agency
Airline Carrier
Current Version
2.2.0
Authentication
Session Token
Service Action Code
OTA_AirBookLLSRQ

Using this API, you can:

  • Book a one way or round trip itinerary.
  • Book an open itinerary.
  • Other parameters include equipment and flight information, a number in party, origin and destination information, booking code.
Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<!--Book a one way itinerary.-->
<OTA_AirBookRQ Version="2.2.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<OriginDestinationInformation>
		<FlightSegment DepartureDateTime="2019-12-21T12:25" ArrivalDateTime="2019-12-21T13:25" FlightNumber="1717" NumberInParty="2" ResBookDesigCode="Y" Status="NN">
			<DestinationLocation LocationCode="LAS"/>
			<Equipment AirEquipType="757"/>
			<MarketingAirline Code="AA" FlightNumber="1717"/>
			<OperatingAirline Code="AA"/>
			<OriginLocation LocationCode="DFW"/>
		</FlightSegment>
	</OriginDestinationInformation>
</OTA_AirBookRQ>
<!--Book a round-trip itinerary.-->
<OTA_AirBookRQ Version="2.2.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<OriginDestinationInformation>
		<FlightSegment DepartureDateTime="2019-12-21T12:25" ArrivalDateTime="2019-12-21T13:25" FlightNumber="1717" NumberInParty="2" ResBookDesigCode="Y" Status="NN">
			<DestinationLocation LocationCode="LAS"/>
			<Equipment AirEquipType="757"/>
			<MarketingAirline Code="AA" FlightNumber="1717"/>
			<OperatingAirline Code="AA"/>
			<OriginLocation LocationCode="DFW"/>
		</FlightSegment>
		<FlightSegment DepartureDateTime="2019-12-24T11:10" ArrivalDateTime="2019-12-24T15:50" FlightNumber="1174" NumberInParty="2" ResBookDesigCode="Y" Status="NN">
			<DestinationLocation LocationCode="DFW"/>
			<Equipment AirEquipType="757"/>
			<MarketingAirline Code="AA" FlightNumber="1174"/>
			<OperatingAirline Code="AA"/>
			<OriginLocation LocationCode="LAS"/>
		</FlightSegment>
	</OriginDestinationInformation>
</OTA_AirBookRQ>
<!--Book an OPEN itinerary.-->
<OTA_AirBookRQ Version="2.2.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<OriginDestinationInformation>
		<FlightSegment DepartureDateTime="2019-12-21T12:00" ArrivalDateTime="2019-12-21T17:00" FlightNumber="OPEN" NumberInParty="2" ResBookDesigCode="Y" Status="DS">
			<DestinationLocation LocationCode="LAS"/>
			<MarketingAirline Code="AA" FlightNumber="OPEN"/>
			<OperatingAirline Code="AA"/>
			<OriginLocation LocationCode="DFW"/>
		</FlightSegment>
	</OriginDestinationInformation>
</OTA_AirBookRQ>
<!--Book an OPEN itinerary without the date.-->
<OTA_AirBookRQ Version="2.2.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OriginDestinationInformation>
    <FlightSegment FlightNumber="OPEN" NumberInParty="1" ResBookDesigCode="Y" Status="DS">
		  <DestinationLocation LocationCode="LHR"/>
          <MarketingAirline Code="BA" FlightNumber="OPEN"/>
          <OriginLocation LocationCode="KRK"/>
     </FlightSegment>
   </OriginDestinationInformation>
</OTA_AirBookRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<OTA_AirBookRS xmlns="http://webservices.sabre.com/sabreXML/2011/10" Version="2.2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01">
	<stl:ApplicationResults status="Complete">
		<stl:Success timeStamp="2019-05-13T16:10:32-06:00"/>
	</stl:ApplicationResults>
	<OriginDestinationOption>
		<FlightSegment ArrivalDateTime="04-30T16:00" DepartureDateTime="04-30T14:40" FlightNumber="0891" NumberInParty="002" ResBookDesigCode="Y" Status="NN" eTicket="true">
			<DestinationLocation LocationCode="LHR"/>
			<MarketingAirline Code="BA" FlightNumber="0891"/>
			<OriginLocation LocationCode="SOF"/>
		</FlightSegment>
	</OriginDestinationOption>
</OTA_AirBookRS>