IATA_SeatAvailabilityRQ/RS

Introduction

The IATA_SeatAvailabilityRQ/RS message pair can be used to retrieve seatmaps for requested flights.

The operation can be used in context of an previously returned Offer, for an existing Order or in an informational standalone context.

General Usage

The information required for this request varies on the context:

  • offer-based: The request contains an OfferID, that has been returned by NDC in a prior IATA_AirShoppingRS or an IATA_OfferPriceRS.

  • order-based: The request contains the ID of an existing Order. Please note, that the Order has to be retrieved via IATA_OrderRetrieveRQ, to load the Order into the NDC-Cache and enable Order-based shopping.

  • standalone: The request contains the exact flight route details, for which seatmaps should be returned

In the standalone-case, the results can be filtered by adding more parameters, e.g. cabin type. For the other cases, the parameters are used from the existing Offer-/Order-context.

Sample

IATA_SeatAvailabilityRQ

offer-based

Show/Hide Request

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IATA_SeatAvailabilityRQ
        xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_SeatAvailabilityRQ">
    <Party>
        <Sender>
            <EnabledSystem>
                <SystemID>12345</SystemID>
            </EnabledSystem>
        </Sender>
    </Party>
    <Request>
        <CoreRequest>
            <Offer>
                <OfferID>OFf94818d3-77e1-11ea-abfe-eb3ad5cc0ddf</OfferID>
                <OwnerCode>NA</OwnerCode>
                <PaxSegmentRefID>SEG7</PaxSegmentRefID>
            </Offer>
        </CoreRequest>
        <Pax>
            <PaxID>PX1</PaxID>
            <PTC>ADT</PTC>
        </Pax>
        <Pax>
            <PaxID>PX2</PaxID>
            <PTC>CHD</PTC>
        </Pax>
        <Pax>
            <PaxID>PX3</PaxID>
            <PTC>INF</PTC>
        </Pax>
    </Request>
</IATA_SeatAvailabilityRQ>

order-based

Show/Hide Request

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IATA_SeatAvailabilityRQ
        xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_SeatAvailabilityRQ">
    <Party>
        <Sender>
            <EnabledSystem>
                <SystemID>12345</SystemID>
            </EnabledSystem>
        </Sender>
    </Party>
    <Request>
        <CoreRequest>
            <Order>
                <OrderID>1234567</OrderID>
                <OwnerCode>NA</OwnerCode>
                <PaxSegmentRefID>SEG1</PaxSegmentRefID>
            </Order>
        </CoreRequest>
        <Pax>
            <PaxID>PX1</PaxID>
            <PTC>ADT</PTC>
        </Pax>
        <Pax>
            <PaxID>PX2</PaxID>
            <PTC>CHD</PTC>
        </Pax>
        <Pax>
            <PaxID>PX3</PaxID>
            <PTC>INF</PTC>
        </Pax>
    </Request>
</IATA_SeatAvailabilityRQ>

standalone

Show/Hide Request

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IATA_SeatAvailabilityRQ
    xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_SeatAvailabilityRQ">
    <MessageDoc>
        <RefVersionNumber>1</RefVersionNumber>
    </MessageDoc>
    <Party>
        <Sender>
            <EnabledSystem>
                <SystemID>94021</SystemID>
            </EnabledSystem>
        </Sender>
    </Party>
    <Request>
        <CoreRequest>
            <PaxSegment>
                <Arrival>
                    <IATA_LocationCode>TFS</IATA_LocationCode>
                </Arrival>
                <CabinType>
                    <CabinTypeCode>Y</CabinTypeCode>
                </CabinType>
                <Dep>
                    <AircraftScheduledDateTime>2020-05-13T12:20:00</AircraftScheduledDateTime>
                    <IATA_LocationCode>FRA</IATA_LocationCode>
                </Dep>
                <MarketingCarrierInfo>
                    <CarrierDesigCode>ZZ</CarrierDesigCode>
                    <MarketingCarrierFlightNumberText>1478</MarketingCarrierFlightNumberText>
                </MarketingCarrierInfo>
                <PaxSegmentID>SEG1</PaxSegmentID>
            </PaxSegment>
        </CoreRequest>
    </Request>
</IATA_SeatAvailabilityRQ>

IATA_SeatAvailabilityRS

Show/Hide Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IATA_SeatAvailabilityRS
   xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_SeatAvailabilityRS">
   <Response>
      <ALaCarteOffer>
         <ALaCarteOfferItem>
            <Eligibility>
               <FlightAssociations>
                  <PaxSegmentRefID>SEG7</PaxSegmentRefID>
               </FlightAssociations>
            </Eligibility>
            <OfferItemID>OFI19defe2d-77e2-11ea-abfe-4f8dba09bee61</OfferItemID>
            <Service>
               <ServiceDefinitionRefID>SVD1</ServiceDefinitionRefID>
               <ServiceID>SV1</ServiceID>
            </Service>
            <UnitPrice>
               <TotalAmount CurCode="EUR">24.99</TotalAmount>
            </UnitPrice>
         </ALaCarteOfferItem>
         <OfferID>OF19defe2d-77e2-11ea-abfe-4f8dba09bee6</OfferID>
         <OwnerCode>ZZ</OwnerCode>
      </ALaCarteOffer>
      <DataLists>
         <OriginDestList>
            <OriginDest>
               <DestCode>TFS</DestCode>
               <OriginCode>FRA</OriginCode>
               <OriginDestID>OD1</OriginDestID>
               <PaxJourneyRefID>FL1</PaxJourneyRefID>
            </OriginDest>
         </OriginDestList>
         <PaxJourneyList>
            <PaxJourney>
               <PaxJourneyID>FL1</PaxJourneyID>
               <PaxSegmentRefID>SEG7</PaxSegmentRefID>
            </PaxJourney>
         </PaxJourneyList>
         <PaxSegmentList>
            <PaxSegment>
               <Arrival>
                  <IATA_LocationCode>TFS</IATA_LocationCode>
               </Arrival>
               <DatedOperatingLeg>
                  <Arrival>
                     <IATA_LocationCode>TFS</IATA_LocationCode>
                  </Arrival>
                  <CarrierAircraftType>
                     <CarrierAircraftTypeCode>32B</CarrierAircraftTypeCode>
                  </CarrierAircraftType>
                  <DatedOperatingLegID>DOL1</DatedOperatingLegID>
                  <Dep>
                     <AircraftScheduledDateTime>2020-05-13T12:20:00</AircraftScheduledDateTime>
                     <IATA_LocationCode>FRA</IATA_LocationCode>
                  </Dep>
               </DatedOperatingLeg>
               <Dep>
                  <AircraftScheduledDateTime>2020-05-13T12:20:00</AircraftScheduledDateTime>
                  <IATA_LocationCode>FRA</IATA_LocationCode>
               </Dep>
               <MarketingCarrierInfo>
                  <CarrierDesigCode>ZZ</CarrierDesigCode>
                  <MarketingCarrierFlightNumberText>1478</MarketingCarrierFlightNumberText>
               </MarketingCarrierInfo>
               <PaxSegmentID>SEG7</PaxSegmentID>
            </PaxSegment>
         </PaxSegmentList>
         <SeatProfileList>
            <SeatProfile>
               <CharacteristicCode>SEAT_NOT_ALLOWED_FOR_INFANT</CharacteristicCode>
               <CharacteristicCode>SEAT_IN_A_QUIET_ZONE</CharacteristicCode>
               <CharacteristicCode>WINDOW</CharacteristicCode>
               <CharacteristicCode>AVAILABLE</CharacteristicCode>
               <SeatProfileID>SP1</SeatProfileID>
            </SeatProfile>
            <SeatProfile>
               <CharacteristicCode>SEAT_NOT_ALLOWED_FOR_INFANT</CharacteristicCode>
               <CharacteristicCode>CENTER_SEAT_NOT_WINDOW_NOT_AISLE</CharacteristicCode>
               <CharacteristicCode>SEAT_IN_A_QUIET_ZONE</CharacteristicCode>
               <CharacteristicCode>AVAILABLE</CharacteristicCode>
               <SeatProfileID>SP2</SeatProfileID>
            </SeatProfile>
         </SeatProfileList>
         <ServiceDefinitionList>
            <ServiceDefinition>
               <Desc>
                  <DescText>SEAT ASSIGNMENT SERVICE 24.99</DescText>
               </Desc>
               <Name>SEAT</Name>
               <ServiceDefinitionID>SVD1</ServiceDefinitionID>
            </ServiceDefinition>
         </ServiceDefinitionList>
      </DataLists>
      <SeatMap>
         <CabinCompartment>
            <ColumnID>A</ColumnID>
            <ColumnID>B</ColumnID>
            <FirstRowNumber>7</FirstRowNumber>
            <LastRowNumber>10</LastRowNumber>
            <SeatRow>
               <RowNumber>7</RowNumber>
               <Seat>
                  <ColumnID>A</ColumnID>
                  <OfferItemRefID>OFI19defe2d-77e2-11ea-abfe-4f8dba09bee61</OfferItemRefID>
                  <SeatProfileRefID>SP1</SeatProfileRefID>
               </Seat>
               <Seat>
                  <ColumnID>B</ColumnID>
                  <OfferItemRefID>OFI19defe2d-77e2-11ea-abfe-4f8dba09bee61</OfferItemRefID>
                  <SeatProfileRefID>SP2</SeatProfileRefID>
               </Seat>
            </SeatRow>
         </CabinCompartment>
         <PaxSegmentRefID>SEG7</PaxSegmentRefID>
      </SeatMap>
      <ShoppingResponse>
         <ShoppingResponseRefID>5ff44706-e0bc-49c1-b75c-4abae6980478</ShoppingResponseRefID>
      </ShoppingResponse>
   </Response>
   <PayloadAttributes>
      <Timestamp TimeZoneCode="UTC">2020-04-06T08:39:16.858</Timestamp>
      <VersionNumber>19.2</VersionNumber>
   </PayloadAttributes>
</IATA_SeatAvailabilityRS>