CalculateExtraServiceCharge Request

Note: This page has been deprecated. Please use the ShowLuggageCharges/ShowCardCharges command to obtain luggage charge, credit card charge and etc... Please contact Travelfusion API Support before making use of this functionality.

 XML Field Description
 CommandList The surrounding tag
 -CalculateExtraServiceCharge The command name
 --XmlLoginId The xml customer login id. See the Login guide.
 --LoginId The end user login id. See the Login guide.
 --Supplier The supplier to query.
 --CalculationProfile The calculation profile
 ---ServiceNameList The list of services to query. Contains 1 or more ServiceName items.
 ----ServiceName Contains service identifier. 
  -----Name Specifies the service name. See definition of ServiceName in GetExtraServiceCharge response.
  -----ParameterList
    [Optional]
 The required property relevant to above service, and at present it can contain one child tag:
  • ServiceType
  ------ServiceType The service type. If two or more values are expected to be included, please submit the value in the below format:
  • Sports Equipment|Sports Equipment (|...)
  ---TravellerList The list of travellers
  ----Traveller A traveller
  -----Age
    [Optional]
 The traveller's age
   -----ServiceNameList
    [Optional]
 Contains the service name list attached to this traveller
   ------ServiceName Specifies the service details
   -------Name Specifies the service name. See definition of ServiceName in GetExtraServiceCharge response.
  -------ParameterList
    [Optional]
 The required property relevant to above service name, and at present it can contain three optional child tag:
  • NumberOfBags
  • WeightOfBags
  • ServiceType
   --------NumberOfBags
    [Optional]
 This is required when the service name is Baggage and this service price is measured in number of bags. Optional otherwise.
   --------WeightOfBags
    [Optional]
 This is required when the service name is Baggage and this service price is measured in weight of bags. Optional otherwise.
   --------ServiceType
    [Optional]
 This specifies the service type pertaining to this service. It can be submitted while specific service type is expected to outline and omitted without such requirement.
  ---GroupList Surrounding tag of group list.
  ----Group Specifies group details quoted in this calculation.
  -----Outward Please refer to 'Structure of Outward and Return' below.
  -----Return The same structure with Outward.
  ---BillingDetails Surrounding tag of billing details
  ----Price The price with every extra service charge exclusive
  ----Currency The currency to be charged.
  ----CreditCard Contains card type of the credit card to be used for payment
  -----CardTypeThe type of credit card to be used. The list of possible values for this field can be:
  • Visa Credit
  • Visa Delta
  • Visa Debit
  • Visa Electron
  • MasterCard
  • American Express
  • Air Plus
  • Diners Club
  • Connect
  • EuroCard
  • Discover
  • Maestro
  • Carte Bleue



Structure of Outward and Return

 XML Field Description
  -SegmentList  The segment list of outward or return quoted in this calculation
   --Segment  Specifies the segment parameters
   ---DepartDate  The date and time of departure that will be requested from the supplier. Format is dd/mm/yyyy-hh:mm  If the specified date/ time cannot be specifically requested using the supplier's interface, the best approximation will be chosen. In general, Travelfusion guarantees to return all the flights returned by the supplier on the specified day, unless the supplier does not return an entire day's flights, in which case Travelfusion will request the specified time of day from the supplier. Travelfusion will not make multiple requests to the supplier for a particular route. In some cases, Travelfusion may not be able to return all the flights that the supplier returns due to processing time constraints. Please ask Travelfusion for more details of these cases.
   ---ArriveDate  ArriveDate has the same definition with DepartDate
   ---Origin  The start airport code of the journey. Please read the related guidelines
   ---Destination  The arrival airport code of the journey. Please read the related guidelines
   ---Operator   Specifies an operator as a two letter operator code.
   ---FlightNumber   The flight number
   ---Cabin   The fare class of this flight


Format of  Some Parameters


 ParameterValueRestrictions
  NumberOfBags Integer e.g. 1, 2, 3 ...- Number
- Number Larger Than
- Number Less Than Or Equals
 WeightOfBags Integer e.g. 1, 2, 3 ...- Weight
- Weight Larger Than
- Weight Less Than Or Equals
 DepartureTime Departure time of the flight in format MM/DD/YYYY-HH:MM
e.g. 15/07/2010-09:00
- Departure Time Before
- Departure Time After
 Origin IATA Airport code e.g. LHR, LGW, ...- Area
- Route
 Destination IATA Airport code e.g. LHR, LGW, ...- Area
- Route
 Currency ISO three-letter Currency Code e.g. USD, EUR, GBP ...- Currency
- When the service charge amount is given as a percentage
 ServiceType Service type e.g. Vegetarian 
 Cabin Cabin class e.g. First Class 
 FlightNumber Flight number e.g. BA8805, EZ2076 ...- Flight Number
 Price Number xx.xx e.g. 100.00, 50.50, 1.15 ...- When the service charge amount is given as a percentage
- Price Larger Than
- Price Larger Than Or Equals
- Price Less Than
- Price Less Than Or Equals