OrderView Response Elements
  • Updated on 19 May 2020
  • 1 minute to read
  • Contributors
  • Print
  • Dark
    Light

OrderView Response Elements

  • Print
  • Dark
    Light

OrderView Response Elements


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

01. Viewing the Order with the Grand Total Amount, Netted Penalty and Price Differential

An Airline may return the OrderView response with the Grand Total Amount, Netted Penalty and Price Differential.

Xpath: IATA_OrderViewRS/Response/DataLists

    <DataLists>
<PenaltyList>
	<Penalty>
		<NetInd>true</NetInd>
		<PenaltyID>PEN001</PenaltyID>
		<Price>
			<BaseAmount>15.00</BaseAmount>
			<Totalmount>15.00</Totalmount>
		</Price>
	</Penalty>
</PenaltyList>
</DataLists>

XPath: IATA_OrderViewRS/Response/Order/OrderItem

<OrderItem>
<DiffPrice>
	<Price>
		<BaseAmount>-40.00</BaseAmount>
		<TaxSummary>
			<Tax>
				<Amount>-20.00</Amount>
			</Tax>
		</TaxSummary>
		<TotalAmount>-45.00</TotalAmount>
	</Price>
</DiffPrice>
<GrandTotalAmount>-55.0</GrandTotalAmount>
<OrderItemID>ORDITM001</OrderItemID>
<PenaltyRefID>PEN001</PenaltyRefID>
<Price>
	<BaseAmount>-25.00</BaseAmount>
	<TaxSummary>
		<Tax>
			<Amount>-15.00</Amount>
		</Tax>
	</TaxSummary>
	<TotalAmount>-40.00</TotalAmount>
</Price>
</OrderItem>

02. Viewing the Order with the re-usable indicator

An Airline may return the OrderView response with the re-usable indicator.

Xpath: IATA_OrderViewRS/Response/Order/OrderItem

<OrderItem>
<OrderItemID>ORITM01</OrderItemID>
<Price>
	<BaseAmount>100.00</BaseAmount>
	<TaxSummary>
		<Tax>
			<Amount>20.00</Amount>
		</Tax>
	</TaxSummary>
	<TotalAmount>120.00</TotalAmount>
</Price>
<ReusableInd>true</ReusableInd>
...
</OrderItem>