Versions Compared

Key

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

...

<AirShoppingRQ>

XML Example for the following elements

Code Block
<AirShoppingRQ Version="17.2"
xmlns="http://www.iata.org/IATA/EDIST">

Elements

Details

Optional/Mandatory

Code Block
Version (Attribute)

Specify NDC schema message version. Always pass 17.2

Note: This is a mandatory attribute in NDC schema. The service will not validate what is being passed in this attribute

M

<Document>

XML Example for the following elements

Code Block
<Document>
        <Name>NDC</Name>
        <ReferenceVersion>17.2</ReferenceVersion>
</Document>

Elements

Details

Optional/Mandatory

Code Block
<Document>

NDC Message Document information

M

Code Block
<Name>

Document name will be always "NDC"

O

Code Block
<ReferenceVersion>

It will be NDC version

O

<PointOfSale>

XML Example for the following elements

Code Block
<ns:PointOfSale>
                    <ns:Location>
                                                <ns:CountryCode>IT</ns:CountryCode>
                                                <ns:CityCode>ROM</ns:CityCode>
                    </ns:Location>
                    <ns:RequestTime Zone="CET">2019-01-28T07:01:00</ns:RequestTime>
</ns:PointOfSale>
Code Block

Elements

Details

Mandatory/Optional

Code Block
Location

Point of sale location information.

Code Block
CountryCode

Country Code

M

Code Block
CityCode

Airport or City Code

M

Code Block
RequestTime

Point Of Sale Timestamp value

Example: 2017-01-13T13:59:38Z

M

Code Block
Zone

Point of Sale timezone

Example : UTC, CET

M

...

<Party>

XML Example for the following elements

Normal bookings/B2C bookings

ns<ns:PartyParty>
ns<ns:SenderSender>
ns<ns:AgentUserSenderAgentUserSender>
ns<ns:NameGuest NameGuest Website</ns:Name>
ns<ns:AgentUserIDGuest AgentUserIDGuest EN</ns:AgentUserID>
</ns:AgentUserSender>
</ns:Sender>
ns<ns:RecipientRecipient>
ns<ns:ORA_RecipientRecipient>
ns<ns:AirlineIDV1<AirlineIDV1</ns:AirlineID>
ns<ns:NameAirline NameAirline Name</ns:Name>
</ns:ORA_Recipient>
</ns:Recipient>
</ns:Party>

B2B login/travel agent login

<edisedis:Party>Party
<edisedis:Sender>Sender
<edisedis:AgentUserSender>AgentUserSender
<edisedis:OtherIDs>OtherIDs
<edis:OtherID Description = "Booking Channel ID">Channel Code given by IBS</edis:OtherID>
</edis:OtherIDs>
<edis:AgentUserID Owner = "Agency code">Agent id <id</edis:AgentUserID>
</edis:AgentUserSender>
</edis:Sender>
<edisedis:Recipient>Recipient
<edisedis:ORA_Recipient>Recipient
<edisedis:AirlineID>Airline AirlineIDAirline code</edis:AirlineID>
<edisedis:Name>Airline NameAirline name</edis:Name>
</edis:ORA_Recipient>
</edis:Recipient>
</edis:Party>

Elements

Details

Optional/Mandatory

<Party>

Party & Sender Definition

M

Sender

Message Sender information.

M

AgentUserSender

Agent User Sender Details

M

Name

Agency Seller Name

M

AgentUserID

User ID of the Agent

M

OtherIDs

Additional Agency (Seller) identification

O

OtherID

Other Identifier

M

Description

Other identification description.

M

Recipient

Named Message Recipient.

M

ORA_Recipient

SUPPLIER: ORA (Offer Originating Airline)

Recipient.

M

AirlineID

Airline ID

M

Name

Airline Name

M

<CoreQuery>

XML Example for the following elements

Code Block
  <ns:CoreQuery>
            <ns:OriginDestinations>
               <ns:OriginDestination>
                  <ns:Departure>
                     <ns:AirportCode>AYT</ns:AirportCode>
                     <ns:Date>2019-07-05</ns:Date>
                  </ns:Departure>
                  <ns:Arrival>
                     <ns:AirportCode>FRA</ns:AirportCode>
                  </ns:Arrival>
                  <ns:CalendarDates DaysBefore="0" DaysAfter="0"/>
               </ns:OriginDestination>
        
            </ns:OriginDestinations>
         </ns:CoreQuery>

Elements

Details

Optional/Mandatory

Code Block
<CoreQuery>

Start of AirShopping Query

M

Code Block
<OriginDestinations>

Origin and destination (O&D) details

M

Code Block
<OriginDestination>

This must be repeated for each O&D. If the request is for EDI-AMS return then this must be repeated twice one for EDI-AMS and one for AMS-EDI

M

Code Block
OriginDestinationKey (attribute) 

This is the unique key to be used when requesting any preference at Origin-Destination level

O

Code Block
<Departure>

Departure airport/city details

M

Code Block
<AirportCode>

Accepts both airport code (LHR) and city code (LON)

M

Code Block
<Date>

Departure date

Example: 2015-08-14

M

Code Block
 

Code Block
<Arrival>

Arrival airport/city details

M

Code Block
<AirportCode>

Accepts both airport code (LHR) and city code (LON)

M

Code Block
<CalendarDates>

Indicates Calendar search date.

Calendar recommendation will only be returned if the client specifies calendar search dates in the request

O

Code Block
DaysAfter (Attribute)

The number of days after the requested date

Example: 3

Calendar recommendation will be returned for the number of days specified after the requested date

O

Code Block
DaysBefore (Attribute)

The number of days before the requested date

Example: 3

Calendar recommendation will be returned for the number of days specified before the requested date

O

...