.. _IATA_OrderChangeRQ:
******************
IATA_OrderChangeRQ
******************
.. raw:: html
Introduction
The IATA_OrderChangeRQ is the main message used for:
#. Adding an infinitive number of new OfferItems (flights and/or ASR/SSR) to an existing booking (use case example: outbound flight for booking with 2 passenger should be added to a booking.)
#. Deletion of a maximum of one OrderItem* (use case example: outbound flight for booking with 1 passenger should be deleted from a booking.)
#. Change of flight data if only one passenger included in booking and just one flight segment involved (use case example: 1 OrderItem must be cancelled and a new OfferItem beeing added.)
It can be used to inquire changes in a pricing step as well as actually changing the booking.
The response to this message is always an :ref:`IATA_OrderViewRS`.
(* If more than 1 OrderItem is to be removed in a transaction, the :ref:`IATA_OrderReshopRQ` must be used for this.)
.. raw:: html
General Usage
The IATA_OrderChangeRQ can be used in two ways. In both ways the request look exactly identical, so the same generated request can be re-used for both transactions.
.. raw:: html
Inquiry
If the request is sent to the endpoint "/order/changeInquiry", it is used in a pricing step without actually changing the booking.
The response to this request will be an IATA_OrderViewRS, that contains a view on how the booking would look like, if the desired changes were applied.
This can be used to get a final price for the desired changes, as well as possible rebooking fees.
**The booking has not been changed at this point!**
.. raw:: html
Update
If the request is sent to the endpoint "/order/change", the changes are actually applied.
All requested items will be booked and all items, that are marked for deletion, are cancelled.
.. raw:: html
Sample
.. raw:: html
IATA_OrderChangeRQ
.. toggle-header::
:header: **Show/Hide Request**
.. code-block:: xml
12345
2
OF279f1cc1-7a2c-11ea-838f-410131f4e93a
NA
OFI279f1cc1-7a2c-11ea-838f-410131f4e93a1
PX1
C1
Primary
email@domain.com
JOHN
IN1
ALEX
DOE
MR
+49
11111111
CITY
DE
12345
STREET 1
M
TEST
IN1
TESTER
MR
PX1
ADT
1234567
NA
|