Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

  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

Table of Contents

Request (

ItinReshopRQ

ServicePriceRQ)

Required inputs

#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

2Itinerary
  • Info for each flight segment:
    • departure Departure airport IATA code and datearrival
    • Arrival airport IATA code and date
    • marketing Marketing carrier code and flight number
  • 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 passenger type codes (PTC) 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
Service group filter

Any combination of values:

  • baggage (for hand luggage, checked baggage, pets and special equipment)
  • seats
  • meals
  • other (for lounge and upgrade to business)

By default used all possible service groups (you will receive all available services and theirs options)

Response (ServicePriceRS)

#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

Service options
  • Service info:
    • Type: bag (for checked baggage and hand luggage), pet, special, meal, seat, upgrade, lounge
    • ID (for special equipment)
    • Place (hold or cabin for bags)
  • Condition of service application:
    • Service count — condition of service options application depending on its sequence number
      • "2" for "bag" — conditions are only for the second bag
      • "1-4" for "seats" — conditions are only for the first four seats buying by current passenger
      • "3+" for  — conditions for all services from the third
    • Passenger type
    • Passenger FFP Status
    • Fare Family
    • Segment or Slice reference
  • Service option details:
    • Option type:
      • Weight (for baggage group)
      • Size (for baggage group)
      • Type (for seats group)
      • Description
    • Application type (label):
      • Free — options that available without extra charge
      • Upgrade — upgrade from free options, e.g. upgrade a free 23kg bag to 32kg cheaper than buy extra 32kg bag
      • Extra — options that available only with extra charge
    • Sale price and currency
    • Filed info (if the option available by terminal)
      • SubCode
      • SubCode Count
      • Name

(warning) Note:

  • Only one of options can be applied for the each service count
  • The same services are applied strictly by sequence number for the same conditions of service application

Check scenarios of ancillaries shopping for examples

2Passenger types

List of requested passenger type codes

3Fares

Actual fare info for requested itinerary, i.e.:

  • Fare basis
  • Fare Family

Multiple fares are available for a segment

4Flight segments
  • Departure airport IATA code and date
  • Arrival airport IATA code and date
  • Marketing carrier code and flight number
  • Slice reference (one slice for One Way trip, two for Round Trip and more for MultiCity, Check glossary for more info)
5Flight slices
  • Departure IATA airport code for the first segment of the slice
  • Arrival IATA airport code for the last segment of the slice
  • List of included segment references (One or more consecutive legs having the same flight number. Check glossary for more info)
8Ticket validation periodStart and/or end dates for each segment

Samples

Children Display
alltrue
styleh3
pagereprice servicePrice operation | Samples
excerptTyperich content