Versions Compared

Key

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

...

<Party>

XML Example for the following elements

Normal bookings/B2C bookings

Code Block
languagexml
<ns:Party>
	<ns:Sender>
		<ns:AgentUserSender>
			<ns:Name>CHANNEL NAME</ns:Name>
			<ns:AgentUserID>CHANNEL CODE</ns:AgentUserID>
		</ns:AgentUserSender>
	</ns:Sender>
	<ns:Recipient>
		<ns:ORA_Recipient>
			<ns:AirlineID>V1<AirlineID>AIRLINE CODE</ns:AirlineID>
			<ns:Name>AirlineName>AIRLINE Name<NAME</ns:Name>
		</ns:ORA_Recipient>
	</ns:Recipient>
</ns:Party>

B2B login/travel agent login

Code Block
languagexml
<edis:Party>
    <edis:Sender>
        <edis:AgentUserSender>
            <edis:OtherIDs>
                <edis:OtherID Description = "Booking Channel ID">CHANNEL CODE given by IBS</edis:OtherID>
            </edis:OtherIDs>
            <edis:AgentUserID Owner = "Agency code">Agent id</edis:AgentUserID>
        </edis:AgentUserSender>
    </edis:Sender>
    <edis:Recipient>
        <edis:ORA_Recipient>
            <edis:AirlineID>AIRLINE CODE</edis:AirlineID>
            <edis:Name>AIRLINE 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
languagexml
  <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

CoreQuery

Start of AirShopping Query

M

OriginDestinations

Origin and destination (O&D) details

M

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

OriginDestinationKey (attribute)

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

O

Departure

Departure airport/city details

M

AirportCode

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

M

Date

Departure date

Example: 2015-08-14

M

Arrival

Arrival airport/city details

M

AirportCode

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

M

CalendarDates

Indicates Calendar search date.

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

O

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

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

...