Reprice operation returns the actual fares (for ticketing operation) and price calculation according to the specified itinerary parameters .to use further in ticketing operation
Use cases
The following list of cases supported by the Shopping API operation and provides their required inputs as well as a list of common inputs used with that case:
- Regular booking — in case proceeding payment on Agent side to get prices without service fees. Requires Agent credentials
- Basic (default) — for non-corporate clients
- 3D agreement — to get prices with applied discount for the corporate client and chosen solution. Requires Corporate client credentials
- Auto (default) — search in discount database in case value isn't specified in request
Currently not available on production environment
- Manual — manual input the value of discount in request
- Auto (default) — search in discount database in case value isn't specified in request
- Facilitated booking — in case proceeding payment on S7 side. Requires skipping of Agent credentials input and special permission from our technical support to get prices with service fees
The following list of cases isn't combinable
Table of contents
Table of Contents |
---|
Request (ItinReshopRQ)
Required inputs
# | Name | Format/Reference | xPath||||
---|---|---|---|---|---|---|
1 | ||||||
1 | Block of access parameters | Use credentials that you received from our technical support. Check out Quick Start for how to get it and References for more details | /Envelope /Body /ItinReshopRQ /Party /Sender /AgentUserSender | |||
2 | Itinerary information | Flight segments infirmation | /Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /OriginDestination | |||
Itinerary |
| |||||
2 | Fare | 3 | Fare basis code and RBD | Fare basis codeand RBD codes | /Envelope /Body /ItinReshopRQ /Query/Reshop /Actions /OrderItems /OrderItem /FlightItem /FareDetail | |
4 | Passengers references | Includes references to passengers | /Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /Associations /Passengers /PassengerReferences | |||
for each segment
| ||||||
3 | Passengers | List of PTC and their quantity for the whole journey | 5 | Passenger type | List of passenger types | /Envelope/Body /ItinReshopRQ /Query /Passengers |
Optional parameters
# | Name | Format/Reference | xPath|||
---|---|---|---|---|---|
1 | 1 | Booking References | PNR locator | /Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /BookingReferencesAgent credentials | Use credentials that you received from our technical support. Check out Quick Start for how to get it and References for more details Skipping of Agent credentials input provides receiving prices with service fees, but only if special permission from our technical support to get |
2 | 3D agreement credentials | Available only for scenario with 3D Agreement. Use credentials that you received from our technical support. Check out Quick Start for how to get those IDs Skipping of 3D agreement credentials input provides receiving prices without discounts for the corporate client | |||
3 | 3D agreement discount | Available only for scenario with 3D Agreement. Manual input /Envelope/Body /ItinReshopRQ /Query/Reshop /Actions /Qualifiers /Qualifier /SpecialFareQualifiersSkipping manual input of discount provides searching in discount database |
Response (ItinReshopRS)
# | Name | Format/Reference | xPath |
---|---|---|---|
1 | Passengers list | List of passenger types and object keys | /Envelope /Body /ItinReshopRS /Response /Passengers |
2 | Itinerary information | Flight segments infirmation | /Envelope /Body /ItinReshopRS /Response /Order |
3 | Pricing information | Pricing information for all passenger types | /Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer |
4 | Checked Baggage Allowance information | List of Checked Baggage Allowance for each segment | /Envelope /Body /ItinReshopRS /Response /DataList /CheckedBagAllowanceList |
5 | Valid before date | Segments not valid after date | /Envelope /Body /ItinReshopRS /Response /DataList /TermsList |
Samples
their quantities
| ||
2 | Itinerary |
|
3 | Fare, RBD and etc. |
|
4 | Pricing for all passengers | Totals in sale currency:
|
5 | Pricing for all passengers of each PTC | Totals in sale currency:
|
6 | Pricing for 1 passengers of each PTC |
|
7 | Checked baggage allowance | Baggage quantity and unit of measure for each passenger type and segment
|
8 | Ticket validation period | Start and/or end dates for each segment |
Samples
Children Display | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|