Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Release 2022.36

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.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of API Messages with Examples'.

We 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:

Common Sections

 Common Sections

HTTP Header

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of HTTP Header'.

Language, Version and Name Space

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Language, Version and Name Space'.

Point of Sale

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Point of Sale and Document'.

Document

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Point of Sale and Document'.

Party

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Party Elements'.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Party Elements'.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Party Elements'.

Shopping Preferences

Error rendering macro 'excerpt-include' : No link could be created for 'NDCDOCStage:Copy of Shopping Preferences'.

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

Query

 Query

Query Pre-Sale

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

<Query> Pre-Sale

Offer

Attribute

OfferID

Attribute

Owner

Attribute

ResponseID

ID of the Offer for which you require the SeatAvailability

Together with the Owner of said Offer. Today this is always “IB”

ID of the OfferPriceRS for which you require the SeatAvailability

Alphanumeric

Alphanumeric

Alphanumeric

A valid OfferID

“IB”

Any

Offer / SegmentID

ID of the flight segment for which you require the SeatAvailability.

This element can be repeated for each flight segment of the Offer for which you require the SeatAvailability.

Alphanumeric

A valid SegmentID (Ex: IB888120230301)

Query Post-Sale

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

<Query> Post-Sale

Order

Attribute

Owner

Attribute

OrderID

Today this is always “IB”

ID of the Order for which you require the SeatAvailability.

Alphanumeric

Alphanumeric

“IB”

A valid OrderID

Order / SegmentID

ID of the unused flight segment for which you require the SeatAvailability.

This element can be repeated for each unused flight segment of the Order for which you require the SeatAvailability.

Alphanumeric

A valid SegmentID (Ex: IB888120230301)

Metadata

 Metadata

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'NDCDOCStage:Copy of Metadata'.

Example SeatAvailabilityRQ:

 Example Pre-Sale flow
<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>

Error messages

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

Error Codes

  • No labels