You can use this endpoint to retrieve the fare rules for each Offer ID. You need to send the selected offer’s Offer ID and Response ID, as a query to retrieve the results. This is an optional service.
Schema
-
Name: Provide the name for the request. This is a String value.
-
ReferenceVersion: Provide the version number. This is a Numeric value.
-
Travel Agency Sender:
-
Name: Provide the name for the request. This is a String value.
-
IATA Number: Provide the IATA number for the request. This is a String value.
-
Agency ID: Provide the agency ID for the request. This is a String value.
-
Contacts:
-
EmailContact: Provide the email contact for the request. This is a String value.
-
Address: Provide the address. This is a String value.
-
-
-
Offer: This is an Array.
- attributes: This is a String value.
-
ShoppingResponseId: This is a required field. Choose a response ID for a particular selection. The value will be String.
-
OfferID: This is a required field. Provide the shopping response’s offer ID for the selected deal. The value will be String.
-
- attributes: This is a String value.
Request URL
curl --location --request POST 'https://newapi.tltid.com/AirFareRules' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
Request Body Sample
{
"FareRulesRQ": {
"Document": {
"Name": "kathir",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "kathir",
"IATA_Number": "",
"AgencyID": "",
"Contacts": {
"Contact": {
"EmailContact": {
"Address": "abc@tc.com"
}
}
}
}
}
},
"Query": {
"Offer": [
{
"attributes": {
"ResponseID": "1620222081937399839",
"OfferID": "151711620222089401678730"
}
}
]
}
}
}
Response Sample
{
"FareRulesRQ": {
"Document": {
"Name": "kathir",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "kathir",
"IATA_Number": "",
"AgencyID": "",
"Contacts": {
"Contact": {
"EmailContact": {
"Address": "abc@tc.com"
}
}
}
}
}
},
"Query": {
"Offer": [
{
"attributes": {
"ResponseID": "1620222081937399839",
"OfferID": "151711620222089401678730"
}
}
]
}
}
}