v1
latestOpenAPI 3.0.02026-08-061029011.1 MBFare Rules after AirPrice
Fare rules are the conditions and restrictions that apply to any booking based on its fare type. These determine the price of the fare. Generally, less expensive fares have more restrictions and more expensive fares have fewer restrictions. Fare rules can include blackout dates, advanced reservation requirements, minimum and maximum stay requirements, and cancellation and change penalties.
Query parameters
Identifier value from the AirPrice response in OfferListResponse/Identifier/value for the offer to return fare rules on.
Deprecated. Not supported in rules from price.
[ "[\"product_1\"]" ]
Deprecated. Not supported in rules from price.
[ "[\"flight_1\"]" ]
Send only if requesting structured fare rules. If fareRuleType=Structured and fareRuleCategories is not sent, all structured fare rules are returned. Supported values: AdvanceReservationTicketing (GDS only), MinimumStay (GDS only), MaximumStay (GDS only), Stopovers (GDS only), Penalties.
[ "[\"Penalties\"]" ]
The type of fare rules requested. Supported values: ShortText, LongText (GDS only), Structured. (For NDC, structured fare rules are supported only for Penalties. A warning message returned if no penalties are applicable to the fare).
Headers
travelportPlusSessionIdentifier used to maintain an established agency session
Identifier used to correlate Air API invocations across a multi-call business flows.
Identifies the Travelport access group with which the caller is associated
Allows user to pass PCC instead of Access Group ID
Response
OK - Successful Response - 200
Example response
{
"FareRuleListResponse": {
"@type": "FareRuleListResponse",
"FareRule": [
{
"@type": "FareRuleText",
"Identifier": {
"value": "A0656EFF-FAF4-456F-B061-0161008D7C4E",
"authority": "TVPT"
},
"ruleNumber": "34",
"tariffNumber": "56",
"Flight": [
{
"@type": "FlightDetail",
"id": "126",
"FlightRef": "s1",
"Identifier": {
"value": "A0656EFF-FAF4-456F-B061-0161008D7C4E",
"authority": "TVPT"
}
}
]
}
],
"transactionId": "6570ed7b-89fe-4334-9c78-af282a977ba6",
"traceId": "c009a53c-48f6-4084-b7b6-3043fa9fec67",
"Result": {
"@type": "Result",
"status": "Complete",
"Error": [
{
"@type": "ErrorDetail",
"StatusCode": 200,
"Message": "No flights found.",
"NameValuePair": [
{
"value": "Sunday",
"id": "6",
"name": "Day1"
}
]
}
],
"Warning": [
{
"@type": "WarningDetail",
"StatusCode": 200,
"Message": "Customer Loyalty could not be applied.",
"NameValuePair": [
{
"value": "Sunday",
"id": "6",
"name": "Day1"
}
]
}
]
},
"Identifier": {
"value": "A0656EFF-FAF4-456F-B061-0161008D7C4E",
"authority": "TVPT"
},
"ReferenceList": [
{
"@type": "ReferenceListFlight"
}
]
}
}