Versions Compared

Key

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

servicePrice operation returns service options and price calculation for the actual fares according to the specified itinerary parameters to use further in ticketing operation

Check out

Table of contents

Table of ContentsmaxLevel3

Request (ServicePriceRQ)

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 airport IATA code and date

    • Arrival airport IATA code

    • Marketing carrier code and flight number

    • 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 glossary for more info)

3

Passengers

List of passenger type codes (PTC) for the whole journey

Optional parameters


Name

Format/Reference

1

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 (for checked baggage and hand luggage), pet, special, meal, seat, upgrade, lounge

    • ID (for special equipment)

    • Place (hold or cabin for bags)

    • , meal, seat

  • Condition of service application:

    • Passenger type

    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 code 
    • Media content reference
  • Service option details:

    • Option type:

    • Weight (for baggage group)

    • Size (for baggage group)

      • Type (for seats seat and meals meal 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

    • Pricing

      • Price Total price in sale currency

      • Price in original (filed) Base price in sale currency

      • Exchange rate from original (filed) to sale currency

      Filed info (if the option available by terminal)

      • SubCode

      • SubCode Count

      • NameDiscount (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 (one slice for One Way trip, two for Round Trip and more for MultiCity, Check glossary for more info)

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