menu

FARE RULE

This method is used to get the fare rules and condition of a specific flight option. It contains the fare basis code and the relevant details associated with it, such as restrictions and penalties(cancellation fees).

Important Note regarding FareRule:
  • MENTIONED FEE ARE INDICATIVE PER PAX AND PER SECTOR.
  • APART FROM AIRLINE CHARGES,GST+RAF+ APPLICABLE CHARGES IF ANY, WILL BE CHARGED.
  • FOR DOMESTIC BOOKINGS, PASSENGERS ARE REQUIRED TO SUBMIT THE CANCELLATION OR REISSUE REQUEST AT LEAST 2 HOURS BEFORE THE AIRLINES CANCELLATION AND REISSUE POLICY.
  • FOR INTERNATIONAL BOOKINGS, PASSENGERS ARE REQUIRED TO SUBMIT THE CANCELLATION OR REISSUE REQUEST AT LEAST 4 HOURS BEFORE THE AIRLINES CANCELLATION AND REISSUE POLICY.

  • Service URL (REST) to be used:
    http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/FareRule
    FareRule Request
    LevelElementFormatCommentsMandatory/ Optional
    1EndUserIpStringIP Address of the end userMandatory
    2TokenIdStringToken IDMandatory
    (Token Id to be echoed back from Authenticate response)
    3TraceIdStringTrace IdMandatory
    (Trace Id to be echoed back from search response. This can be used to trace particular search/ book at TBO’s end)
    4ResultIndexIntegerResult IndexMandatory
    FareRule Response
    LevelElementFormatCommentsMandatory/ Optional
    1Error
    1.1ErrorCodeIntegerCode corresponding to the ErrorMandatory
    1.2ErrorMessageStringContains error messageMandatory (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)
    2FareRules[]Array of fare rule detailsMandatory
    2.1OriginStringOriginMandatory
    2.2DestinationStringDestinationMandatory
    2.3AirlineStringAirlineMandatory
    2.4FareRestrictionStringFare restrictionOptional
    2.5FareBasisCodeStringFare basis code is the fare class code provided by the supplierMandatory
    2.6FareRuleDetailStringFare rule details (HTML content)Mandatory
    2.7ReturnDateDate TimeReturn date/timeOptional
    2.8DepartureTimeDate TimeDeparture date/timeOptional
    2.9FareInclusionsFare inclusionsOptional
    2.10MiniFareRulesMini fare rules with penalty detailsOptional
    2.10.1CurrencyStringCurrency for mini fare rulesOptional
    2.10.2Rules[]List of mini fare rulesOptional
    2.10.2.1DepartureTypeStringDeparture type (e.g. Before Departure, NoShow)Optional
    2.10.2.2FromDurationStringFrom durationOptional
    2.10.2.3ToDurationStringTo durationOptional
    2.10.2.4TypeIntegerRule type (0 - Refund, 1 - Reissue)Optional
    2.10.2.5PaxPenalties[]Passenger-wise penalty detailsOptional
    2.10.2.5.1AirlineFeeDecimalAirline fee amountOptional
    2.10.2.5.2PassengerTypeIntegerPassenger Type Adult – 1 Child – 2 Infant – 3Optional
    2.10.2.5.3CurrencyStringCurrency of airline feeOptional
    2.11NonRefundableBooleanIndicates if the fare is non-refundableOptional
    3ResponseStatusIntegerResponse statusMandatory
    4TraceIdStringTrace IdMandatory
    5NonRefundableBooleanIndicates if the fare is non-refundable at response levelOptional