Origin Destination Criteria
Overview
The Origin Destination Criteria object will be found in AirShoppingRQ and OrderReshopRQ and is used to advise the airline of passenger preference involving the airport/city pair requested.
Origin Destination Criteria
DestArrivalCriteria
A Customer's requested Destination arrival location.
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>NCE</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
OriginDepCriteria
A Customer's requested Origin departure date and location.
<cns:OriginDepCriteria>
<cns:Date>2024-03-23</cns:Date>
<cns:IATA_LocationCode>LHR</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
Ordinal
Used to identify the Ordinal of each OriginDestCriteria indicating the order assigned by the sending system. This is important when the Dates are not sufficient to infer the order of the OriginDestCriteria, e.g. when the itinerary is a round trip on the same day
The first possible value of Ordinal should be “1” and for the other OriginDestCriteria the value of Ordinal should increase by one unit, example “2”.
<cns:Ordinal>1</cns:Ordinal>
Samples
In this example, the priority for the order of OriginDestCriteria will be the Ordinal. The offer request is for the itinerary of LHR-NCE-LHR (not NCE-LHR-NCE).
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>NCE</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>1</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-23</cns:Date>
<cns:IATA_LocationCode>LHR</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>LHR</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>2</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-23</cns:Date>
<cns:IATA_LocationCode>NCE</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
In this example, the priority for the order of OriginDestCriteria will be the Ordinal. The offer request is for the itinerary of GUM-HNL-GUM (not HNL-GUM-HNL).
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>HNL</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>1</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-24</cns:Date>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>2</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-23</cns:Date>
<cns:IATA_LocationCode>HNL</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
In this example, the priority for the order of OriginDestCriteria will be the Ordinal. The offer request is for the itinerary of GUM-HNL-GUM (not HNL-GUM-HNL).
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>2</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-23</cns:Date>
<cns:IATA_LocationCode>HNL</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>HNL</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>1</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-24</cns:Date>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
This example illustrates a three-bound journey - the priority for the order of OriginDestCriteria will still be the Ordinal. The offer request is for the itinerary of GUM-HNL-GUM-LAX (not HNL-GUM-HNL-LAX).
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>HNL</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>1</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-24</cns:Date>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>2</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-23</cns:Date>
<cns:IATA_LocationCode>HNL</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>
<cns:OriginDestCriteria>
<cns:DestArrivalCriteria>
<cns:IATA_LocationCode>LAX</cns:IATA_LocationCode>
</cns:DestArrivalCriteria>
<cns:Ordinal>3</cns:Ordinal>
<cns:OriginDepCriteria>
<cns:Date>2024-03-24</cns:Date>
<cns:IATA_LocationCode>GUM</cns:IATA_LocationCode>
</cns:OriginDepCriteria>
</cns:OriginDestCriteria>