Skip to main content

IATA_OrderHistoryRS

Response · Order Management · Implemented

Implemented

Delivers: ORDHIS Order history.

Returns the ordered list of historical order states and changes.

When to use​

Response to IATA_OrderHistoryRQ.

Transport​

IATA_OrderHistoryRS is a response body. It is returned by its paired request rather than POSTed directly.

Example​

note

✅ The example below validates against the original XSD.

<?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_OrderHistoryRS (one level deep, including inherited content):

FieldTypeRequiredRepeatableNotes
ErrorErrorType✓✓choice — pick one
ResponseOrderHistoryResponseType✓—choice — pick one
AugmentationPointxs:any——extension point (AugmentationPoint)
DistributionChainDistributionChainType——
PayloadAttributesIATA_PayloadStandardAttributesType——

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_OrderHistoryRS } from '@oms/ndc-24-4';

const obj = IATA_OrderHistoryRS.parseXML(xml); // parse a received response
IATA_OrderHistoryRS.schema.parse(obj); // strict Zod validation