The IATA_OrderRules message returns the rules associated with a fare reference.
Supported Scenarios
FareRef (non cache):
One request per each flight is required to retreive the OrderRules, NDC doesn't support multiple segments.
xPath to map : /IATA_OrderRulesRQ/Request/CoreRequest/FareRef
Non Supported Scenarios
OrderRef (cache):
Query rules for multiple segment/originDestination
xPath to map: /IATA_OrderRulesRQ/Request/CoreRequest/OrderRef
Message Structure
IATA_OrderRulesRQ 18.2 Structure
<IATA_OrderRulesRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderRulesRQ" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderRulesRQ IATA_OrderRulesRQ.xsd"> <Party> <Sender> <RetailPartner> Retail partner information </RetailPartner> </Sender> </Party> <Request> <CoreRequest> <FareRef> Fare reference information </FareRef> </CoreRequest> </Request></IATA_OrderRulesRQ>IATA_OrderRulesRS 18.2 Structure
<ndc:IATA_OrderRulesRS xmlns:ndc="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderRulesRS"> <ndc:Response> <ndc:Rules> <ndc:FareRule> <ndc:FareRuleText> Fare rule information </ndc:FareRuleText> <ndc:RuleCode> Rule code </ndc:RuleCode> </ndc:FareRule> </ndc:Rules> </ndc:Response> <ndc:PayloadAttributes> IATA standard payload attributes. </ndc:PayloadAttributes></ndc:IATA_OrderRulesRS>