Skip to main content

IATA_OrderHistoryRQ

Request · Order Management · Implemented

Implemented

Delivers: ORDHIS Order history.

Request the change history / audit trail of an order.

When to use​

To show what changed on an order and when.

Transport​

PropertyValue
Method & pathPOST /24.4/OrderHistoryRQ
Content-Typeapplication/xml
AuthAuthorization: Bearer <token> (or X-API-Key: <key>)
Routing headerIATA-Message-Name: IATA_OrderHistoryRQ

See Authentication & connection for the full handshake.

Request example​

note

✅ The example below validates against the original XSD.

<?xml version="1.0" encoding="UTF-8"?>
<IATA_OrderHistoryRQ xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage">
<DistributionChain>
<DistributionChainLink xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
<Ordinal>1</Ordinal>
<OrgRole>Carrier</OrgRole>
<ParticipatingOrg>
<OrgID>X</OrgID>
</ParticipatingOrg>
</DistributionChainLink>
</DistributionChain>
<Request>
<Order xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
<OrderID>X</OrderID>
<OwnerCode>X</OwnerCode>
</Order>
</Request>
</IATA_OrderHistoryRQ>

Response example​

Paired response: IATA_OrderHistoryRS.

<?xml version="1.0" encoding="UTF-8"?>
<IATA_OrderHistoryRS xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage">
<Error>
<LangCode xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">X</LangCode>
<TypeCode xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">X</TypeCode>
</Error>
</IATA_OrderHistoryRS>

Key fields​

Top-level content model of IATA_OrderHistoryRQ (one level deep, including inherited content):

FieldTypeRequiredRepeatableNotes
AugmentationPointxs:any——extension point (AugmentationPoint)
DistributionChainDistributionChainType✓—
PayloadAttributesIATA_PayloadStandardAttributesType——
POSPOS_Type——
RequestOrderHistoryRequestType✓—

Build it with the SDK​

The @oms/ndc-24-4 package is a reference SDK — build, serialize, parse, and validate this message in code:

import { IATA_OrderHistoryRQ } from '@oms/ndc-24-4';

const xml = IATA_OrderHistoryRQ.toXML(payload, { pretty: true });
const obj = IATA_OrderHistoryRQ.parseXML(xml); // round-trips
IATA_OrderHistoryRQ.schema.parse(obj); // strict Zod validation