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
| Property | Value |
|---|---|
| Method & path | POST /24.4/OrderHistoryRQ |
| Content-Type | application/xml |
| Auth | Authorization: Bearer <token> (or X-API-Key: <key>) |
| Routing header | IATA-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):
| Field | Type | Required | Repeatable | Notes |
|---|---|---|---|---|
AugmentationPoint | xs:any | — | — | extension point (AugmentationPoint) |
DistributionChain | DistributionChainType | ✓ | — | |
PayloadAttributes | IATA_PayloadStandardAttributesType | — | — | |
POS | POS_Type | — | — | |
Request | OrderHistoryRequestType | ✓ | — |
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
Related
- Response:
IATA_OrderHistoryRS - All Order Management messages
- Postman collection & SDK · OpenAPI contract