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

Check out

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

  • Info for each flight segment:

departure
    • Departure airport IATA code and date

arrival
    • Arrival airport IATA code

    • Marketing carrier code and

date
    • flight number

marketing
    • Operation carrier code and flight number
    • ClassOfService (code RBD)
    • FareBasisCode 
    • FareFamily
  • Segments must be divided into slices (one slice for One Way trip, two for Round Trip and more for MultiCity, 

Check 
 for
  •  for more info)

2Fare and RBDFare basis and RBD codes for each segment

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

3

Passengers

List of

PTC and their quantity

passenger type codes (PTC) for the whole journey

Optional parameters

#

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

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:

  • bag (for checked baggage, pets and special equipment)

  • seat

  • meal

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

Response (ServicePriceRS)


Name

Format/Reference

1

Service options

  • Service info:

    • Type: bag, meal, seat

  • Condition of service application:

    • Passenger type

    • Fare Family

    • Segment or Slice reference

    • Service code 
    • Media content reference
  • Service option details:

    • Option type:

      • Type (for seat and meal group)

      • Description

    • Pricing

      • Total price in sale currency

      • Base price in sale currency

      • Discount (in percent and sale currency)

(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

2

Passenger types

List of requested passenger type codes

3

Fares

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

  • Fare basis

  • Fare Family

Multiple fares are available for a segment

4

Flight segments

  • Departure airport IATA code and date

  • Arrival airport IATA code and date

  • Marketing carrier code and flight number

  • Slice reference

#NameFormat/Reference1Passengers

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 
     for
    •  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

    Children Display
    5

    Flight 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)

    Samples


    OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Include Page
    Seat | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
    Seat | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Include Page
    Seat | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
    Seat | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Baggage | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Include Page
    Bag | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
    Bag | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Seats | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Include Page
    Seat | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation
    Seat | OW + 1xADT + Direct + S7 flight| v0.52 | servicePrice operation

    Baggage | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation

    Include Page
    Bag | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
    Bag | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation

    Seats | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation

    Include Page
    Seat | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
    Seat | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation

    Seats | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation

    Include Page
    Seat | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
    Seat | 2ADT+1CHD+1INF+Domestic+RT+DIRECT | v0.52 | servicePrice operation
    alltruestyleh3pagereprice operation | SamplesexcerptTyperich content