Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following is an example of an OCN message* generated by Iberia:

*The IATA 17.2 schema makes the OrderItems obligatory, however we do not include them.

Expand
titleOrderChangeNotification Involuntary Cancel UC09 OCN example 2024
Code Block
<OrderChangeNotif xmlnsVersion="http://www.iata.org/IATA/EDIST/2017.25.000" xmlns:ns2="http://www.iberiaiata.comorg/IATA/NDC/SecurePaymentEDIST/2017.2" Version="5.000">
	<Document>
		<ReferenceVersion>5.000</ReferenceVersion>
	</Document>
	<Party>
		<Sender>
			<!--Offer Responsible Airline-->
			<TravelAgencySender><ORA_Sender>
				<AirlineID>IB</AirlineID>
				<Name>AgencyName<<Name>Iberia</Name>
				<Contacts></ORA_Sender>
		</Sender>
		<Participants>
			<Contact><Participant>
				<AggregatorParticipant SequenceNumber="1">
		<EmailContact>			<Name>AggregatorName</Name>
					<AggregatorID>00000000</AggregatorID>
		<Address>agency@agencyemail.com</Address>		</AggregatorParticipant>
			</Participant>
			</EmailContact>Participants>
		<Recipient>
				<PhoneContact><TravelAgencyRecipient>
				<IATA_Number>XXXXXXXX</IATA_Number>
				<AgencyID>77777777</AgencyID>
			<Application>MOBILE</Application></TravelAgencyRecipient>
		</Recipient>
	</Party>
	<Query>
		<Order OrderID="IB6dff0c0b748b48b29fe00d3d4711debdOP" Owner="IB">
			<BookingReferences>
				<BookingReference>
					<Number>+34666666666<<ID>A1B2C</Number>ID>
					<AirlineID>IB</AirlineID>
				</PhoneContact>BookingReference>
			</BookingReferences>
		</Order>
		<Name><Amendments>
			<Amendment>
				<Surname>Perez</Surname><ActionType Context="2">Update</ActionType>
				<Remarks>
					<Given>Pepe<<Remark>Flight retimed</Given>Remark>
				</Remarks>
			</Name>Amendment>
					</Contact>
				</Contacts>
				<IATA_Number>11111111</IATA_Number>
				<AgencyID>First Agency</AgencyID></Amendments>
	</Query>
</OrderChangeNotif>

*The IATA 17.2 schema makes the OrderItems obligatory, however we do not include them.

Example OrderChangeNotification 2024:

Expand
titleOrderChangeNotification Involuntary Cancel UC09 example 2024
Code Block
<OrderChangeNotif xmlns="http://www.iata.org/IATA/EDIST/2017.2" xmlns:ns2="http://www.iberia.com/IATA/NDC/SecurePayment/2017.2" Version="5.000">
	<Document>
		<ReferenceVersion>5.000</ReferenceVersion>
	</Document>
	<Party>
		<Sender>
			<ORA_Sender>
				<AirlineID>IB</AirlineID>
				<Name>Iberia</Name>
			</TravelAgencySender>ORA_Sender>
		</Sender>
		<Participants>
			<Participant>
				<AggregatorParticipant SequenceNumber="1">
					<Name>AggregatorName</Name>
					<AggregatorID>00000022</AggregatorID>
				</AggregatorParticipant>
			</Participant>
		</Participants>
		<Recipient>
			<TravelAgencyRecipient>
				<IATA_Number>11111111</IATA_Number>
				<AgencyID>First Agency</AgencyID>
			</TravelAgencyRecipient>
		</Recipient>
	</Party>
	<Query>
		<Order OrderID="IBb50e394186454af88abe7e29bf6169adOC" Owner="IB">
			<BookingReferences>
				<BookingReference>
					<ID>LEWS1</ID>
					<AirlineID>IB</AirlineID>
				</BookingReference>
			</BookingReferences>
		</Order>
		<Amendments>
			<Amendment>
				<ActionType Context="3">CANCEL</ActionType>
				<Remarks>
					<Remark>0423<<Remark>Flight cancelled</Remark>
				</Remarks>
			</Amendment>
		</Amendments>
	</Query>
</OrderChangeNotif>

...