Skip to main content

Book Air Segment

2.1.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.1.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
<OTA_AirBookRQ Version="2.1.0">
	<OriginDestinationInformation>
		<FlightSegment DepartureDateTime="2012-12-21T12:25" ArrivalDateTime="2012-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>
Sample Response
<OTA_AirBookRS Version="2.1.0">
	<stl:ApplicationResults status="Complete">
		<stl:Success timeStamp="2015-06-11T16: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>