You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
servicePrice operation returns service options and price calculation for the actual fares according to the specified itinerary parameters to use further in ticketing operation
# | 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
- 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: - 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) |
# | 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)
- 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 and meals 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 in sale currency
- Price in original (filed) currency
- Exchange rate from original (filed) to sale currency
- Filed info (if the option available by terminal)
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.: 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