Versions Compared

Key

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

...

Here we have information on the Origin and Destination pairs that make up the journey.

Insert excerpt
NDC2:New 17.2 COMBINEDNDC2:New 17.2 COMBINEDAPI Messages with Examples
API Messages with Examples
nameLegend
nopaneltrue

Excerpt
nameOriginDestinationList

<Response / DataLists / OriginDestinationList>

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

NDC SERVICES

<DataLists / OriginDestinationList>

OriginDestination

Info

Attribute

OriginDestination@OriginDestinationKeyOriginDestinationKey

ID of the origin-destination

OriginDestinationKey attribute value can be indicated in OriginDestinationKey attribute from AirShopping request. If this value is not indicated, it will be auto-generated with the default format.

Alphanumeric

Default format: ODX (X → Number digit)

Any (Default format example: OD1)

All Services

OriginDestination / DepartureCode

IATA 3 character code of the departure city/airport/station

3 Alphanumeric

Any

All Services

Origin Destination / ArrivalCode

IATA 3 character code of the arrival city/airport/station

3 Alphanumeric

Any

All Services

Origin Destination / FlightReferences

References for the flight

Alphanumeric

Any

All Services

OriginDestinationList example

Expand
title

...

OriginDestinationList example
Code Block
languagexml
<OriginDestinationList>
	<OriginDestination OriginDestinationKey="OD1">
		<DepartureCode>MAD</DepartureCode>
		<ArrivalCode>BIO</ArrivalCode>
		<FlightReferences>MADBIO20230202072500</FlightReferences>
	</OriginDestination>
	<OriginDestination OriginDestinationKey="OD2">
		<DepartureCode>BIO</DepartureCode>
		<ArrivalCode>MAD</ArrivalCode>
		<FlightReferences>BIOMAD20230212174500</FlightReferences>
	</OriginDestination>
</OriginDestinationList>