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:
  • The fees mentioned are indicative per passenger (pax) and per sector.
  • In addition to airline charges, GST, RAF, and other applicable charges (if any) will also be levied.
  • For domestic bookings: Passengers must submit any cancellation or reissue requests at least 2 hours before the time specified in the airline's cancellation/reissue policy.
  • For international bookings: Passengers must submit any cancellation or reissue requests at least 4 hours before the time specified in the airline's cancellation/reissue policy.

  • Service URL (REST) to be used:
    https://api-stage.tboair.com/InternalAirService.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
    1FareRules[]
    1.1AirlineStringAirlineMandatory
    1.1.1OriginStringOriginMandatory
    1.1.2DestinationStringDestinationMandatory
    1.1.3FareBasisCodeStringFare basis code is the fare class code provided by the supplierMandatory
    1.1.4FareRestrictionStringFare restrictionOptional
    1.1.5FareRuleDetailString ListFare rule detailsMandatory
    1.2Error
    1.2.1ErrorCodeIntegerCode corresponding to the ErrorMandatory
    12.2ErrorMessageStringContains error messageMandatory (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)