.. _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
12345
PX1
ADT
OFc587c64f-77ef-11ea-abfe-3d099045155b
NA
OFIc587c64f-77ef-11ea-abfe-3d099045155b1
PX1
NA
|
.. raw:: html
IATA_OfferPriceRQ (including detailed pax data)
.. toggle-header::
:header: **Show/Hide Request**
.. code-block:: xml
12345
1970-01-01
M
TEST
IN1
TESTER
MR
PX1
ADT
OFc587c64f-77ef-11ea-abfe-3d099045155b
NA
OFIc587c64f-77ef-11ea-abfe-3d099045155b1
PX1
NA
|
.. raw:: html
IATA_OfferPriceRS
.. toggle-header::
:header: **Show/Hide Response**
.. code-block:: xml
BA1
Adult
8kg carry on baggage included
LENGTH
55
HEIGHT
20
WIDTH
40
1
CarryOn
Adult
8
BA2
Checked
Adult
20kg checked baggage included
20
Online Check-In is free of charge
online_check-in
Airport Check-In and Check-In kiosks are free of charge.
airport_check-in
Until 29 days before scheduled departure an optional booking is possible to be hold for 3 workdays. From 28 days before scheduled departure an optional booking is possible to be hold for 1 day. From 4 days before scheduled departure an option booking is not possible anymore.
option_bookings
Meals and beverages are not included.
meals_and_beverages
Fees are applicable for seat reservation until 24 h before scheduled departure.
seat_reservation
You'll receive 125 Miles per flight leg.
miles_and_more
Priority baggage, security check and boarding is not included.
priority_package
Ejournals and magazines are not included.
ejournals_magazines
No additional services included.
additional_services
TFS
FRA
OD1
FL1
P0Y0M0DT4H45M0.000S
FL1
SEG1
M
PAXA
IN1
PAXEA
PX1
ADT
2020-05-13T16:05:00
TFS
2020-05-13T16:05:00
TFS
DOL1
2020-05-13T12:20:00
FRA
2020-05-13T12:20:00
FRA
P0Y0M0DT4H45M0.000S
ZZ
1478
Y
SEG1
The rebooking fees per person and flight are 75? on medium haul. The stated fees apply to each booking modification. They are restricted to the same flight zone and can be made until 24 hours before departure. If the fare for the new flight is higher, the fare difference must be paid.
rebooking/change_booking
In the case of cancellation or no-show, it is not possible to refund the air fare.
cancellation
No changes can be made.
name_change
Name correction is free of charge.
name_correction
SPO
SPO
PC1
BaggageAllowance CarryOn Bags
BaggageAllowanceCarry
BA1
SVD1
BaggageAllowance Checked Bags
BaggageAllowanceChecked
BA2
SVD2
OFfa0eaa64-77f1-11ea-abfe-eb9b3ad64127
Y
ECONOMY
SPO
rebooking/change_booking
cancellation
name_change
name_correction
SEG1
PC1
NET FARE
80.42
49.57
TAX
49.57
129.99
PX1
OFIfa0eaa64-77f1-11ea-abfe-eb9b3ad641271
80.42
129.99
PX1
FL1
SV1
PX1
DOL1
SEG1
SVD1
SV2
PX1
DOL1
SEG1
SVD2
SV3
ZZ
129.99
49.57
TAX
49.57
179.56
5ff4d0fe-e1dc-494a-b90f-f81517494478
2020-04-06T10:32:55.431
19.2
|
.. raw:: html
Credit Card Fee
If a offer price needs to be done by adding CC fee, the tag "ShoppingCriteria" must be present. If the tag "ShoppingCriteria" is not present, no CC fee will be added.
**Currently only SunExpress supports this feature!**
.. toggle-Header::
:header: **Request Shopping Criteria Part**
.. code-block:: xml
MC
123456
CC
|
.. toggle-Header::
:header: **Response Fee Part**
.. code-block:: xml
5.80
Credit card fee
SURCHARGE
|