Reprice servicePrice operation returns service options and price calculation for the actual fares 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 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 |
---|
Check out
- Request message with detailed explanation of input parameters
- Response message with detailed explanation of input parameters
- Variety of request and response samples
Request (ServicePriceRQ
Request (ItinReshopRQ)
Required inputs
Name | Format/Reference | |
---|---|---|
1 | Agent credentials | Use credentials that you received from our technical support. Check out Quick Start for how to get it and References for more details |
2 | Itinerary |
|
|
|
|
|
|
|
For all passengers must be specified the same values
3 | Passengers | List of |
passenger type codes (PTC) for the whole journey |
Optional parameters
Name | Format/Reference |
---|---|
1 |
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
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
Available only for scenario with 3D Agreement. Manual input
Skipping manual input of discount provides searching in discount database Currently not available on production environment
Response (ItinReshopRS)
Service group filter | Any combination of values:
By default used all possible service groups (you will receive all available services and theirs options) |
Response (ServicePriceRS)
Name | Format/Reference | |
---|---|---|
1 | Service options |
Check scenarios of ancillaries shopping for examples |
2 | Passenger types | List of requested passenger type codes |
3 | Fares | Actual fare info for requested itinerary, i.e.:
Multiple fares are available for a segment |
4 | Flight segments |
|
List of passenger types and their quantities
Known issue: quantities is always "1", but all prices calculated correctly (used passenger quantity from request)
- departure airport IATA code and date
- arrival airport IATA code and date
- marketing carrier code and flight number
|
|
|
- For each segment:
- Fare basis and RBD codes
Can be replaced by another codes in some cases. Check response reference for more info
- Amount of child/infant discount
- Fare basis and RBD codes
- For the whole itinerary:
- Restrictions of fare application (endorsement)
- VAT amount (endorsement)
- Conversation rate (endorsement)
- Unstructured fare calculation line (endorsement)
Totals in sale currency:
- Total (fare + tax + service fee) — for payment
- Fare
- Taxes
- Service fees
Totals in sale currency:
- Total (fare + tax + service fee)
- Fare
- Taxes
- Service fees
- Totals in sale currency:
- Total (fare + tax + service fee) — for payment
- Fare
- Taxes
- Service fees
- Prices in original (filed) currency
- Total fare
- Prices of each tax in original (filed) currency
- Exchange rate from original (filed) to sale currency
Baggage quantity and unit of measure for each passenger type and segment
Will be deprecated soon
Do not use for ticket issuing — check searchFlight operation response for the value
Samples
5 | Flight slices |
|
Samples
OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|
OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|
Baggage | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|
Seats | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|
Baggage | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|
Seats | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|
Seats | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
Include Page | ||||
---|---|---|---|---|
|