Order Rules Capabilities
  • Updated on 09 Oct 2019
  • 2 minutes to read
  • Contributors
  • Print
  • Dark
    Light

Order Rules Capabilities

  • Print
  • Dark
    Light

Overview

This message pair is used to query the airline and return information around fares, conditions, products and services including general compliance and regulatory information.

Note: Information returned within this message is not programmatically readable. Programmatically readable and relevant rule information for the Seller relating to Change and Cancel fees (for example) will be found within the relevant message whereever there is reference to an Offer or an Order. See Offer and Order Rules.

Order Rules Request Elements

This section documents the key elements for OrderRules request and how to correctly use these to achieve the required functionality.

There are three functions performed by this message which will return Fare information.

01. Requesting Fare Rules using an Itinerary

A Seller can request fare rules and conditions for an itinerary, however note that this is not for a specific itinerary for a passenger or in relation to any other segment of travel. Information returned is simply for that product on that segment.

<iata:CoreRequest>
	<iata:FareRef>
		<iata:AirlineDesigCode>XB</iata:AirlineDesigCode>
		<iata:Arrival>
			<iata:IATALocationCode>SIN</iata:IATALocationCode>
		</iata:Arrival>
		<iata:Dep>
			<iata:IATALocationCode>GVA</iata:IATALocationCode>
		</iata:Dep>
		<iata:FareBasisCode>JBZDI</iata:FareBasisCode>
	</iata:FareRef>
</iata:CoreRequest>

02. Requesting Specific Fare Rules using an Offer

A Seller can request specific fare rules and conditions for a customer itineray by passing in an Offer ID (for the entire fare rules and conditions) or by filtering the fare rules to a specific Offer Item by sending the Airline the Offer ID and the required Offer Item ID.

Note
This is not currently supported

03. Requesting Specific Fare Rules using an Order

A Seller can request the full fare rules and conditions for an Order by supplying the Airline with an Order ID. Note that the Seller cannot filter the response using an Order Item ID.

<iata:CoreRequest>
	<iata:OrderRef>
		<iata:OrderID>XB0001A2B3C4D</iata:OrderID>
		<iata:OwnerCode>XB</iata:OwnerCode>
	</iata:OrderRef>
</iata:CoreRequest>

OrderRules Response Elements

This section documents the key elements for OrderRules response and how to correctly use these to achieve the required functionality.

01. Responding with Fare Rules

Regardless of the query in the OfferRules request, the response shall be consistant with the fare rule information as below.

<iata:Response>
	<iata:OrderID>XB0001A2B3C4D</iata:OrderID>
	<iata:Rules>
		<iata:AirlineDesigCode>XB</iata:AirlineDesigCode>
		<iata:Arrival>
			<iata:IATALocationCode>SIN</iata:IATALocationCode>
		</iata:Arrival>
		<iata:Dep>
			<iata:IATALocationCode>GVA</iata:IATALocationCode>
		</iata:Dep>
		<iata:FareBasisCode>JBZDI</iata:FareBasisCode>
		<iata:FareRule>
			<iata:FareRuleText>
				<iata:RemarkText>FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT FARE RULE TEXT </iata:RemarkText>
			</iata:FareRuleText>
		</iata:FareRule>
	</iata:Rules> 
</iata:Response>