.. _IATA_OfferPriceRQ/RS:
********************
IATA_OfferPriceRQ/RS
********************
.. raw:: html
Introduction
The IATA_OfferPriceRQ/RS message pair is used for the final pricing step before creating the Order. In this request, all selected Offers from the previous shopping step are combined and assigned to the correct passengers.
The IATA_OfferPriceRS contains the final price of the selected Offer items, if the Order would be created at this moment. It also contains the final OfferIDs, that can be used in the :ref:`IATA_OrderCreateRQ`. The response also contains informations about baggage allowances and fare rules (if provided by the airline).
.. raw:: html
General Usage
The IATA_OfferPriceRQ contains all selected Offers from the previous shopping step. This includes flight Offers, as well as seat- and service Offers.
It is also necessary to include all passengers in this request, although complete passenger data (e.g. full names, date of birth etc.) is not yet required.
If seats and/or services are included, it is also mandatory to set the correct references to the regarding flight segments. As it is required by the IATA-XSD, the flight segments have to be added to the request as well but currently the API only evaluates the SegmentID. So it is possible to set dummy data to the segments, but for consistency it is recommended to set the correct segment data.
The IATA_OfferPriceRS returns full pricing information. That includes fares, taxes, service prices and possible additional fees.
Please note: Although the pricing step is not strictly required in the booking flow, it is highly recommended to execute this step to avoid price differences, e.g. when combining specific services. Also Offers returned in the pricing step are usually cached for a longer time to improve customer experience. For more information about caching, please have a look at the chapter :ref:`Caching`.
.. raw:: html
Sample
Below sample solely contains a simple IATA_OfferPriceRQ only containing a flight. For detailed samples, please refer to :ref:`NDC XML Samples`.
.. raw:: html
IATA_OfferPriceRQ
.. toggle-header::
:header: **Show/Hide Request**
.. code-block:: xml
1
Seller
94021
XXX
XX
DMS1
DOS1
XXX
0000
XX
DOS1
M
AAA
IN1
LASTNAME
MR
PX1
ADT
2018-10-26
M
AAB
IN2
LASTNAME
MR
PX2
CHD
2023-09-26
M
AAC
IN3
LASTNAME
MR
PX3
INF
DMS1
PS1
OFb7daa48d-7402-11ee-96ea-131651a9e86d
NA
OFIb7daa48d-7402-11ee-96ea-131651a9e86d1
PX1
PX2
PX3
|
.. raw:: html
IATA_OfferPriceRQ (including detailed pax data)
.. toggle-header::
:header: **Show/Hide Request**
.. code-block:: xml
2023-12-14T11:35:00
TFS
FL
DMS1
DOS1
2023-12-14T09:45:00
FRA
677
2023-12-28T09:00:00
FRA
FL
DMS2
DOS2
2023-12-28T07:05:00
TFS
672
2023-12-14T11:35:00
TFS
32A
DOL1
2023-12-14T09:45:00
FRA
2023-12-28T09:00:00
FRA
32A
DOL2
2023-12-28T07:05:00
TFS
FL
DOL1
DOS1
P0Y0M0DT1H50M0.000S
677
FL
DOL2
DOS2
P0Y0M0DT1H55M0.000S
672
TFS
FRA
OD1
PJ1
FRA
TFS
OD2
PJ2
P0Y0M0DT1H50M0.000S
PJ1
PS1
P0Y0M0DT1H55M0.000S
PJ2
PS2
M
AAA
IN1
LASTNAME
PX1
PX3
ADT
2018-11-28
M
AAB
IN2
LASTNAME
PX2
CHD
2023-10-28
M
AAC
IN3
LASTNAME
PX3
INF
WEB
ECONOMY
DMS1
WEB
PS1
WEB
ECONOMY
DMS2
WEB
PS2
ECONOMY
ECONOMY
WEB
Standard
PC1
CBBG
CBBG
FL
XBAG
CBBG
SVD1
CBBG
CBBG
FL
XBAG
CBBG
SVD2
CBBG
CBBG
FL
XBAG
CBBG
SVD3
CBBG
CBBG
FL
XBAG
CBBG
SVD4
OFdb1d8845-8dca-11ee-808e-114657d2dad1
ECONOMY
ECONOMY
WEB
PS1
PC1
Net
163.51
37.48
US:US
TAX
37.48
200.99
PX1
OFIdb1d8845-8dca-11ee-808e-114657d2dad11
163.51
200.99
PJ1
PX1
SV1
ECONOMY
ECONOMY
WEB
PS1
PC1
Net
41.51
37.48
US:US
TAX
37.48
78.99
PX2
OFIdb1d8845-8dca-11ee-808e-114657d2dad12
41.51
78.99
PJ1
PX2
SV2
ECONOMY
ECONOMY
WEB
PS1
PC1
Net
-0.01
-0.01
PX3
OFIdb1d8845-8dca-11ee-808e-114657d2dad13
-0.01
-0.01
PJ1
PX3
SV3
ECONOMY
ECONOMY
WEB
PS2
PC1
Net
84.51
37.48
US:US
TAX
37.48
121.99
PX1
OFIdb1d8845-8dca-11ee-808e-114657d2dad14
84.51
121.99
PJ2
PX1
SV4
ECONOMY
ECONOMY
WEB
PS2
PC1
Net
21.51
37.48
US:US
TAX
37.48
58.99
PX2
OFIdb1d8845-8dca-11ee-808e-114657d2dad15
21.51
58.99
PJ2
PX2
SV5
ECONOMY
ECONOMY
WEB
PS2
PC1
Net
-0.01
-0.01
PX3
OFIdb1d8845-8dca-11ee-808e-114657d2dad16
-0.01
-0.01
PJ2
PX3
SV6
OFIdb1d8845-8dca-11ee-808e-114657d2dad17
0.00
0.00
DOL1
SVD1
PX1
SV7
OFIdb1d8845-8dca-11ee-808e-114657d2dad18
0.00
0.00
DOL1
SVD2
PX2
SV8
OFIdb1d8845-8dca-11ee-808e-114657d2dad19
0.00
0.00
DOL2
SVD3
PX1
SV9
OFIdb1d8845-8dca-11ee-808e-114657d2dad110
0.00
0.00
DOL2
SVD4
PX2
SV10
FL
311.02
37.48
US:US
TAX
37.48
US:US
TAX
37.48
US:US
TAX
37.48
US:US
TAX
149.92
460.94
2023-11-28T08:48:09.411723432
8ac2d7be-6d33-49f6-9e66-c53c8637db88
21.3
|