...
Here we have information on the Origin and Destination pairs that make up the journey.
Insert excerpt |
---|
| NDC2:New 17.2 COMBINED | NDC2:New 17.2 COMBINEDAPI Messages with Examples |
---|
| API Messages with Examples |
---|
name | Legend |
---|
nopanel | true |
---|
|
Excerpt |
---|
name | OriginDestinationList |
---|
|
<Response / DataLists / OriginDestinationList> |
---|
NAME | DESCRIPTION | FORMAT | ALLOWED/POSSIBLE VALUES | NDC SERVICES |
---|
<DataLists / OriginDestinationList> | OriginDestination Info |
---|
AttributeOriginDestination@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
...
OriginDestinationList example |
|
Code Block |
---|
| <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> |
|