You can use this endpoint to cancel the airline changes such as flight cancellations, delays, and rescheduling.
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: This is an Array.
- EmailContact: Provide the email contact for the request. This is a String value.
-
-
OrderID: This is a required field. Provide the order ID for a specific selection. The value will be String.
-
GdsBookingReference: This is a required field. Provide the Gds booking reference for a specific selection. The value will be String.
Note: GDS- Global Distribution System.
Request URL
curl --location --request POST 'https://newapi.tltid.com/AirOrderInvoluntaryCancel' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
Request Body Sample
{
"OrderInvoluntaryCancelRQ": {
"Document": {
"Name": "Wintlt NDC GATEWAY",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "Skyroute B2B Portal",
"IATA_Number": "1111111111",
"AgencyID": "Skyroute B2B Portal",
"Contacts": {
"Contact": [
{
"EmailContact": "skyroute@gmail.com"
}
]
}
}
}
},
"Query": {
"OrderID": "GTXU9O83",
"GdsBookingReference": ["HHDZ5V"]
}
}
}
Response Sample
{
"OrderInvoluntaryCancelRS": {
"Document": {
"Name": "Wintlt NDC GATEWAY",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "kathir",
"IATA_Number": "",
"AgencyID": "",
"Contacts": {
"Contact": [
{
"EmailContact": "kathir@gmail.com"
}
]
}
}
}
},
"ShoppingResponseId": "1610529951733825798",
"Success": {},
"Result": [
{
"OrderID": "GTXU9O83",
"GdsBookingReference": [
"HHDZ5V"
],
"ErrorMsg": "",
"Status": "SUCCESS", // FAILED
"RefundAmount": 22600,
"RefundText": "TicketNumber:01623324033310 QuoteType:FutureFlightCredit RefundAmount:22600",
"RefundPaxWiseFare": [
{
"TicketNumber": "01623324033310",
"Amount": 22600
}
]
}
]
}
}