Versions Compared

Key

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

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

    3. S7 Profi - allows you to use the program for organizing business trips

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

Table of contents

Table of Contents

Request (

ItinReshopRQ

/wiki/spaces/GAAPI/pages/172294525)

Required inputs

#

Name

Format/Reference

xPath

1

Block of access parameters

Use credentials that you received from our technical support. Check out Quick Start for how to get it andReferences for more details

/Envelope/Body/ItinReshopRQ/Party/Sender /AgentUserSender

2

Itinerary

  • 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 (OriginDestination block) for One Way trip, two for Round Trip and more for MultiCity, for Transfer Trip all segments included in one slice have to be pass in one OriginDestination block, in Transfer Trip segments with stopover between are divided into two OriginDestination,

Check 
 for
  •  for more info)

Envelope/Body/ItinReshopRQ/Query/Reshop/Actions/OrderItems/OrderItem/FlightItem/OriginDestination

3

PNR number

PNR number to fasten the mask

Envelope/Body/ItinReshopRQ/Query/Reshop/Actions/BookingReferences/BookingReference/ID

4

Fare and RBD

Fare

basis

basis and RBD codes for each segment

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

Envelope/Body/ItinReshopRQ/Query/Reshop/Actions/OrderItems/OrderItem/FlightItem/FareDetail

5

Passengers

List of PTC and their quantity for the whole journey

Envelope/Body/ItinReshopRQ/Query/Reshop/Actions/Passengers

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

2

3D agreement credentials

Available only

Available only for scenario with 3D Agreement.

 Use

 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

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

4

S7 Profi credentials

Available only

Available only for S7 Profi

program scenario

program scenario.

 Use

 Use credentials that you received from our technical support. Check out Quick Start for how to get those IDs

Response (

ItinReshopRS)#

/wiki/spaces/GAAPI/pages/172392907)

Name

Format/Reference

xPath

1

Passengers

List of passenger types and their quantities

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

Envelope/Body/ItinReshopRS/Response/Passengers

2

Itinerary

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


3

Fare, RBD and etc.

  • For each segment:

    • Fare

basis
    • basis and RBD codes
      (warning) Can be replaced by another codes in some cases. Check 

response reference
  • For the whole itinerary:

    • Restrictions of fare application (endorsement)

    • VAT amount (endorsement)

    • Conversation rate (endorsement)

    • Unstructured fare calculation line (endorsement)


4

Pricing for all passengers

Totals in sale currency:

  • Total (fare + tax + service fee) — for payment

  • Fare

  • Taxes

  • Service fees

Envelope/Body/ItinReshopRS/Response/ReShopOffers/ReShopOffer/TotalPrice/

5

Pricing for all passengers of each PTC

Totals in sale currency:

  • Total (fare + tax + service fee)

  • Fare

  • Taxes

  • Service fees

Envelope/Body/ItinReshopRS/Response/ReShopOffers/ReShopOffer/ReShopPricedOffer/OfferPrice/RequestedDate/PriceDetail/TotalAmount

6

Pricing 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


7

Ticket validation period

Start and/or end dates for each segment


Samples

Children Displayalltruestyleh3pagev0.52 | 1A | reprice operation | SamplesexcerptTyperich content

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

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

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

Include Page
1А | OW + 1xADT + Direct + S7 flight | v0.52 | reprice without PNR operation
1А | OW + 1xADT + Direct + S7 flight | v0.52 | reprice without PNR operation

RT + 2ADT + 1CHD + 1INF + Transfer + S7 flight | v0.52 | reprice with PNR operation

Include Page
RT + 2ADT + 1CHD + 1INF + Transfer + S7 flight | v0.52 | reprice without PNR operation
RT + 2ADT + 1CHD + 1INF + Transfer + S7 flight | v0.52 | reprice without PNR operation

RT + 2ADT + 1CHD + 1INF + Transfer + S7 flight | v0.52 | reprice without PNR operation

Include Page
RT + 2ADT + 1CHD + 1INF + Transfer + S7 flight | v0.52 | reprice without PNR operation
RT + 2ADT + 1CHD + 1INF + Transfer + S7 flight | v0.52 | reprice without PNR operation

3D agreement | v0.52 | reprice with PNR operation

Include Page
3D agreement | v0.52 | reprice without PNR operation
3D agreement | v0.52 | reprice without PNR operation

3D agreement | v0.52 | reprice without PNR operation

Include Page
3D agreement | v0.52 | reprice without PNR operation
3D agreement | v0.52 | reprice without PNR operation

S7 Profi | v0.52 | reprice with PNR operation

Include Page
S7 Profi | v0.52 | reprice without PNR operation
S7 Profi | v0.52 | reprice without PNR operation

S7 Profi | v0.52 | reprice without PNR operation

Include Page
S7 Profi | v0.52 | reprice without PNR operation
S7 Profi | v0.52 | reprice without PNR operation

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

Include Page
1А | OW + 1xADT + Direct + S7 flight | v0.52 | reprice without PNR operation with avail fares search
1А | OW + 1xADT + Direct + S7 flight | v0.52 | reprice without PNR operation with avail fares search

Subsidised fare+OW+1xSRC+Direct | v0.52 | reprice with PNR operation

Include Page
Subsidised fare+OW+1xSRC+Direct | v0.52 | reprice with PNR operation
Subsidised fare+OW+1xSRC+Direct | v0.52 | reprice with PNR operation

Subsidised fare+OW+1xSRC+Direct | v0.52 | reprice without PNR operation

Include Page
Subsidised fare+OW+1xSRC+Direct | v0.52 | reprice without PNR operation
Subsidised fare+OW+1xSRC+Direct | v0.52 | reprice without PNR operation

Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | reprice with PNR operation

Include Page
Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | reprice without PNR operation
Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | reprice without PNR operation

Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | reprice without PNR operation

Include Page
Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | reprice without PNR operation
Subsidised fare+RT+1xYTR+1CHD+1INF+Transfer | v0.52 | reprice without PNR operation

1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation

Include Page
1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation
1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation

1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation

Include Page
1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation
1ADT+1INF with a seat+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | reprice with PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | reprice without PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | reprice without PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+YFLOW with 10% discount | v0.52 | reprice with PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+YFLOW with 10% discount | v0.52 | reprice with PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+YFLOW with 10% discount | v0.52 | reprice with PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+YFLOW with 10% discount | v0.52 | reprice without PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+YFLOW with 10% discount | v0.52 | reprice without PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+YFLOW with 10% discount | v0.52 | reprice without PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | reprice without PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | reprice without PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+Public fares | v0.52 | reprice without PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+MM02 fare | v0.52 | reprice with PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+MM02 fare | v0.52 | reprice with PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+MM02 fare | v0.52 | reprice with PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+MM02 fare | v0.52 | reprice without PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+MM02 fare | v0.52 | reprice without PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+MM02 fare | v0.52 | reprice without PNR operation

ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation

Include Page
ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation
ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation

ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation

Include Page
ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation
ВПД МО 1ADT+1CHD+1INF+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+ М fare | v0.52 | reprice with PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+ М fare | v0.52 | reprice with PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+ М fare | v0.52 | reprice with PNR operation

ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+ М fare | v0.52 | reprice without PNR operation

Include Page
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+ М fare | v0.52 | reprice without PNR operation
ВПД МВД 1ADT+1CHD+1INF+Domestic+OW+DIRECT+ М fare | v0.52 | reprice without PNR operation

1CHD+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation

Include Page
1CHD+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation
1CHD+Domestic+OW+DIRECT | v0.52 | reprice without PNR operation

1CHD+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation

Include Page
1CHD+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation
1CHD+Domestic+OW+DIRECT | v0.52 | reprice with PNR operation