.. _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
1
Seller
94021
true
OF0b4bb795-74b8-11ee-b386-f781dbf9a42e
NA
OFI0b4bb795-74b8-11ee-b386-f781dbf9a42e1
PX1
OFI0b4bb795-74b8-11ee-b386-f781dbf9a42e2
PX2
OFI0b4bb795-74b8-11ee-b386-f781dbf9a42e3
PX3
C1
Primary
SUPPORT@PRIBAS.COM
4911111111
CITY
12345
STREET 1
XXX
XX
DMS1
DOS1
XXX
0000
XX
DOS1
M
AAA
IN1
LASTNAME
MR
PX1
PX3
ADT
2018-10-27
M
AAB
IN2
LASTNAME
MR
PX2
CHD
2023-09-27
M
AAC
IN3
LASTNAME
MR
PX3
INF
DMS1
PS2
7193063
NA
699.96
CASH PAID
|