Show Inventory for Flight

 

DisplayInventoryRecordLLSRQ is used to display inventory availability for a specific flight number. This service is restricted to SabreSonicRes users.

API Information

Target Audience
Sabre Airline Solutions
Current Version
1.2.1
Authentication
Session Token
Service Action Code
DisplayInventoryRecordLLSRQ

Sample request

<DisplayInventoryRecordRQ TimeStamp="2010-11-30T15:30:00-06:00" Version="1.2.1" xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  
  <POS>
     <Source PseudoCityCode="SCL" />
  </POS>  
  <FlightNumber>801</FlightNumber>
  <DepartureDate>2014-07-29</DepartureDate>
  <DepartureAirport LocationCode="ALL" />
  <ArrivalAirport LocationCode="SCL" CodeContext="IATA" />
</DisplayInventoryRecordRQ>

Sample response

<?xml version="1.0" encoding="UTF-8"?>
<DisplayInventoryRecordRS xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" TimeStamp="2014-08-26T17:00:18" AltLangID="en-us" Version="1.2.1" PrimaryLangID="en-us" EchoToken="String" SequenceNmbr="1" Target="Production">
  <Success/>
  <OriginDestinationOptions>
    <OriginDestinationOption>
      <FlightSegment DepartureDateTime="23:20:00" ArrivalDateTime="2014-10-01T04:30:00">
        <DepartureAirport LocationCode="SCL" CodeContext="IATA"/>
        <ArrivalAirport LocationCode="AKL" CodeContext="IATA"/>
        <Equipment AirEquipType="343"/>
      </FlightSegment>
    </OriginDestinationOption>
  </OriginDestinationOptions>
  <FlightInfoDetails>
    <FlightLegInfo>
      <DepartureAirport LocationCode="SCL" CodeContext="IATA"/>
      <BookingClassAvail ResBookDesigCode="J" RPH="1">
          <AircraftCapacity Count="42"/>
          <AuthorizedCapacity Count="23"/>
          <SeatsAvailable Count="16"/>
          <BaseSeatsSold Count="0"/>
          <AssociatedBaseSeatsSold Count="27"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="D" RPH="2">
          <AuthorizedCapacity Count="12"/>
          <SeatsAvailable Count="5"/>
          <BaseSeatsSold Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="I" RPH="3">
          <AuthorizedCapacity Count="7"/>
          <SeatsAvailable Count="0"/>
          <BaseSeatsSold Count="7"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="U" RPH="4">
          <AuthorizedCapacity Count="0"/>
          <SeatsAvailable Count="0"/>
          <BaseSeatsSold Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="R" RPH="5">
          <AuthorizedCapacity Count="0"/>
          <SeatsAvailable Count="0"/>
          <BaseSeatsSold Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="C" RPH="6">
          <AuthorizedCapacity Count="20"/>
          <SeatsAvailable Count="0"/>
          <BaseSeatsSold Count="20"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="Y" RPH="7">
          <AircraftCapacity Count="218"/>
          <AuthorizedCapacity Count="160"/>
          <SeatsAvailable Count="21"/>
          <BaseSeatsSold Count="1"/>
          <AssociatedBaseSeatsSold Count="206"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="B" RPH="8">
          <AuthorizedCapacity Count="153"/>
          <SeatsAvailable Count="15"/>
          <BaseSeatsSold Count="2"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="H" RPH="9">
          <AuthorizedCapacity Count="115"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="8"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="K" RPH="10">
          <AuthorizedCapacity Count="107"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="16"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="M" RPH="11">
          <AuthorizedCapacity Count="91"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="3"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="L" RPH="12">
          <AuthorizedCapacity Count="88"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="4"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="V" RPH="13">
          <AuthorizedCapacity Count="84"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="63"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="S" RPH="14">
          <AuthorizedCapacity Count="42"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="15"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="N" RPH="15">
          <AuthorizedCapacity Count="27"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="2"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="Q" RPH="16">
          <AuthorizedCapacity Count="25"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="11"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="O" RPH="17">
          <AuthorizedCapacity Count="14"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="3"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="G" RPH="18">
          <AuthorizedCapacity Count="11"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="T" RPH="19">
          <AuthorizedCapacity Count="11"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="E" RPH="20">
          <AuthorizedCapacity Count="11"/>
          <SeatsAvailable Count="-21"/>
          <BaseSeatsSold Count="11"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="X" RPH="21">
          <AuthorizedCapacity Count="67"/>
          <SeatsAvailable Count="0"/>
          <BaseSeatsSold Count="67"/>
      </BookingClassAvail>
    </FlightLegInfo>
  </FlightInfoDetails>
  <InventoryStatus RPH="1">
      <DepartureAirport LocationCode="SCL" CodeContext="IATA"/>
      <ArrivalAirport LocationCode="AKL" CodeContext="IATA"/>
      <BookingClassAvail ResBookDesigCode="J" RPH="1">
         <SeatsSold Count="0"/>
         <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="D" RPH="2">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="I" RPH="3">
        <SeatsSold Count="5"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="U" RPH="4">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="R" RPH="5">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="C" RPH="6">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="Y" RPH="7">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="B" RPH="8">
        <SeatsSold Count="2"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="H" RPH="9">
        <SeatsSold Count="8"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="K" RPH="10">
        <SeatsSold Count="16"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="M" RPH="11">
        <SeatsSold Count="3"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="L" RPH="12">
        <SeatsSold Count="1"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="V" RPH="13">
        <SeatsSold Count="58"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="S" RPH="14">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="N" RPH="15">
        <SeatsSold Count="2"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="Q" RPH="16">
        <SeatsSold Count="5"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="O" RPH="17">
        <SeatsSold Count="1"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="G" RPH="18">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="T" RPH="19">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="E" RPH="20">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="X" RPH="21">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <Totals>
        <SeatsSold Count="101"/>
        <WaitList Count="0"/>
      </Totals>
   </InventoryStatus>
   <InventoryStatus RPH="2">
      <DepartureAirport LocationCode="SCL" CodeContext="IATA"/>
      <ArrivalAirport LocationCode="SYD" CodeContext="IATA"/>
      <BookingClassAvail ResBookDesigCode="J" RPH="1">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="D" RPH="2">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="I" RPH="3">
        <SeatsSold Count="2"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="U" RPH="4">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="R" RPH="5">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="C" RPH="6">
        <SeatsSold Count="20"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="Y" RPH="7">
        <SeatsSold Count="1"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="B" RPH="8">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="H" RPH="9">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="K" RPH="10">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="M" RPH="11">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="L" RPH="12">
        <SeatsSold Count="3"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="V" RPH="13">
        <SeatsSold Count="5"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="S" RPH="14">
        <SeatsSold Count="15"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="N" RPH="15">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="Q" RPH="16">
        <SeatsSold Count="6"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="O" RPH="17">
        <SeatsSold Count="2"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="G" RPH="18">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="T" RPH="19">
        <SeatsSold Count="0"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="E" RPH="20">
        <SeatsSold Count="11"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <BookingClassAvail ResBookDesigCode="X" RPH="21">
        <SeatsSold Count="67"/>
        <WaitList Count="0"/>
      </BookingClassAvail>
      <Totals>
        <SeatsSold Count="132"/>
        <WaitList Count="0"/>
      </Totals>
   </InventoryStatus>
   <TPA_Extensions>
     <HostCommand>
        VIE801/29SEPSCL
     </HostCommand>
   </TPA_Extensions>
</DisplayInventoryRecordRS>

If you are a Sabre customer currently using Sabre APIs in production, access Resources 

Docs Navigation