Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Examples of messages with complete flows can be downloaded from here.

This service is used to get the seat map for the flight segments referenced in the request. Note that depending on whether you request this in the pre-sale or post sale flow you will reference the Offer or the Order accordingly.excerpt-include

NDCDOCStage:Copy of API Messages with ExamplesNDCDOCStage:Copy of API Messages with ExamplesnameLegendnopaneltrueWe provide two different methods to request the seat availability:

  • Pre-Sale: Requires a previous OfferPrice

  • Post-Sale: Requires a previously created and paid Order.

The various search parameters are described below:

Insert excerpt
API Messages with Examples
API Messages with Examples
nameLegend
nopaneltrue

Common Sections

Expand
titleCommon SectionsHTTP Header

HTTP Header

Insert excerpt
NDCDOCStage:Copy of HTTP HeaderNDCDOCStage:Copy of
HTTP Header
nameHTTP Header
nopaneltrue

Expand
titleLanguage, Version and Name Space

Language, Version and Name Space

Insert excerpt

NDCDOCStage:Copy of

Language, Version and Name Space

NDCDOCStage:Copy of

Language, Version and Name Space
nameVersion_Lang_NameSpace
nopaneltrue

Expand
titlePoint of Sale

Point of Sale

Insert excerpt

NDCDOCStage:Copy of

Point of Sale and Document

NDCDOCStage:Copy of

Point of Sale and Document
namePointOfSale
nopaneltrue

Expand
titleDocument

Document

Insert excerpt

NDCDOCStage:Copy of

Point of Sale and Document

NDCDOCStage:Copy of

Point of Sale and Document
nameDocument
nopaneltrue

Expand
titleParty

Party

Insert excerpt

NDCDOCStage:Copy of

Party Elements

NDCDOCStage:Copy of

Party Elements
nameSenderSection
nopaneltrue

Insert excerpt

NDCDOCStage:Copy of

Party Elements

NDCDOCStage:Copy of

Party Elements
nameParticipantSection
nopaneltrue

Insert excerpt

NDCDOCStage:Copy of

Party Elements

NDCDOCStage:Copy of

Party Elements
nameRecipientSection
nopaneltrue

Shopping Preferences

excerpt-include

NDCDOCStage:Copy of Shopping PreferencesNDCDOCStage:Copy of Shopping PreferencesnameShoppingPreferencesnopaneltrue

In addition to the Common Sections the main parts of the request message are the following:

...

Expand
titleQuery

Insert excerpt
Query (Pre-Sale & Post-Sale)
Query (Pre-Sale & Post-Sale)
nameQuery_presale
nopaneltrue

Insert excerpt
Query (Pre-Sale & Post-Sale)
Query (Pre-Sale & Post-Sale)
nameQuery_postsale
nopaneltrue

...

Expand
titleMetadata
Insert excerptNDCDOCStage:Copy of MetadataNDCDOCStage:Copy of MetadatanameCurrencyMetadatanopaneltrue

Example SeatAvailabilityRQ:

Expand
titleExample SeatAvailabilityRQ example Pre-Sale flow
Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.iata.org/IATA/EDIST/2017.2">
   <soapenv:Header/>
   <soapenv:Body>
      <SeatAvailabilityRQ Version="5.000" PrimaryLangID="es" xmlns="http://www.iata.org/IATA/EDIST/2017.2">
         <PointOfSale>
            <Location>
               <CountryCode>ES</CountryCode>
            </Location>
         </PointOfSale>
         <Document>
            <ReferenceVersion>5.000</ReferenceVersion>
         </Document>
         <Party>
            <Sender>
               <TravelAgencySender>
                  <Name>NDC Agency Name</Name>
                  <Contacts>
                     <Contact>
                        <EmailContact>
                           <Address>pruebas@pruebas.com</Address>
                        </EmailContact>
                        <PhoneContact>
                           <Application>MOBILE</Application>
                           <Number CountryCode="+34">666666666</Number>
                        </PhoneContact>
                        <Name>
                           <Surname>Perez</Surname>
                           <Given>PepeĀ“s</Given>
                        </Name>
                     </Contact>
                  </Contacts>
                  <OtherIDs>
                     <OtherID>XXXXXXXX</OtherID>
                  </OtherIDs>
                  <AgencyID>XXXXXXXX</AgencyID>
               </TravelAgencySender>
            </Sender>
            <Participants>
               <Participant>
                  <AggregatorParticipant SequenceNumber="1">
                     <AggregatorID>XXXXXXXX</AggregatorID>
                  </AggregatorParticipant>
               </Participant>
            </Participants>
         </Party>
         <Query>
            <Offer OfferID="IB378316b7a7924aafad62e2ce8f478942OP" Owner="IB" ResponseID="Qm9va2luZ0BHVy0xNjUxMDYzNTc4MDI5LThQMzQ3">
            <SegmentID>IB310220231018</SegmentID>
            </Offer>
         </Query>
      </SeatAvailabilityRQ>
   </soapenv:Body>
</soapenv:Envelope>

Examples SeatAvailabilityRQ 2024:

Expand
titleSeatAvailabilityRQ Seat Presale on hold UC01 example 2024
Code Block
languagexml
<SeatAvailabilityRQ>
	<Query>
		<Offer OfferID="IBd9f8773737e74c85b1172bf9168214b1OC" Owner="IB" ResponseID="Qm9va2luZ0BHVy0xNzEzOTU5MTczMTYyLWg4T041"/>
	</Query>
</SeatAvailabilityRQ>
Expand
titleSeatAvailabilityRQ Paid Seats UC02 example 2024
Code Block
languagexml
<Query>
	<Offer OfferID="IB95a0ff8f7dd846a7af4227367d18c52cOP" Owner="IB" ResponseID="Qm9va2luZ0BHVy0xNzEyMjQ1NjA1NzEzLU1teE1Y"/>
</Query>
Expand
titleSeatAvailabilityRQ Seat Postsale UC11 example 2024
Code Block
languagexml
<Query>
	<Order Owner="IB" OrderID="IB30c290390a7a41268d2316713f0edc9fOC"/>
</Query>

Examples of messages with complete flows can be downloaded from here.

Error messages

For further information about all kind of error messages, please go to the following link:

Error CodesErrors

...