You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Reprice operation returns 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:

  1. Regular booking — in case proceeding payment on Agent side to get prices without service fees. Requires Agent credentials
    1. Basic (default) — for non-corporate clients
    2. 3D agreement — to get prices with applied discount for the corporate client and chosen solution. Requires Corporate client credentials
      1. Auto (default) — search in discount database in case value isn't specified in request
        (warning) Currently not available on production environment
      2. Manual — manual input the value of discount in request
  2. 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

(warning) The following list of cases isn't combinable

Table of contents

Request (ItinReshopRQ)

Required inputs

#NameFormat/Reference
1Itinerary
  • Info for each segment:
    • departure airport IATA code and date
    • arrival airport IATA code and date
    • marketing carrier code and flight number
    • operating carrier code and flight number (flight number becomes mandatory in case Marketing carrier code isn't equal to Operating for the same particular segment)
  • Segments must be divided into slices (one slice for One Way trip, two for Round Trip and more for MultiCity, Check glossary for more info)
2Fare and RBD

Fare basis and RBD codes for each segment

(warning) For all passengers must be specified the same values

3PassengersList of PTC and their quantity for the whole journey

Optional parameters

#NameFormat/Reference
1Agent 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

23D agreement credentials

Available only for scenario with 3D AgreementUse 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

33D agreement discount

Available only for scenario with 3D Agreement. Manual input

Skipping manual input of discount provides searching in discount database
(warning) Currently not available on production environment

Response (ItinReshopRS)

#NameFormat/Reference
1Passengers

List of passenger types and their quantities

(warning) Known issue: quantities is always "1", but all prices calculated correctly (used passenger quantity from request)

2Itinerary
  • Info for each segment:
    • departure airport IATA code and date
    • arrival airport IATA code and date
    • marketing carrier code and flight number
  • Segments divided into slices (one slice for One Way trip, two for Round Trip and more for MultiCity, Check glossary for more info)
3Fare, RBD and etc.
  • For each segment:
    • Fare basis and RBD codes
      (warning) Can be replaced by another codes in some cases. Check response reference for more info
    • Amount of child/infant discount
  • For the whole itinerary:
    • Restrictions of fare application (endorsement)
    • VAT amount (endorsement)
    • Conversation rate (endorsement)
    • Unstructured fare calculation line (endorsement)
4Pricing for all passengers

Totals in sale currency:

  • Total (fare + tax + service fee) — for payment
  • Fare
  • Taxes
  • Service fees
5Pricing for all passengers of each PTC

Totals in sale currency:

  • Total (fare + tax + service fee)
  • Fare
  • Taxes
  • Service fees
6Pricing for 1 passengers of each PTC
  • 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
7Checked baggage allowance

Baggage quantity and unit of measure for each passenger type and segment

(warning) Will be deprecated soon
Do not use for ticket issuing — check searchFlight operation response for the value

8Ticket validation periodStart and/or end dates for each segment

Samples

v0.52 | 1A | reprice operation | Samples

Samples

1А | OW + 1xADT + Direct + S7 flight | v0.52 | reprice with PNR operation

Check out

  • No labels