Flight API GetAirCancellationQuote
Flight API
- Overview
- User Authorization
- GetAirResults
- GetCountryMasters
- GetEmployeeDetails
- GetTravelersDetail
- GetFarerules
- GetTravelerInfo
- GetAirAvailability
- GetTravelPolicyRules
- GetConsumedTicketByMonth
- GetBookingsListByEmployee
- GetPaymentDetails
- CBT IssueTicket
- GetAirCancellationQuote
- GetBookingByBookingId
- Round Trip Flow
- Monthly Business Ticket
- Discounted Ticket
- Checkout Flow
GetAirCancellationQuote
This API is useful to get the cancellation details for a booking.
Path: /api/GetAirCancellationQuote/
Method Type :GET
Parameters :
- UserID
- BookingID
Sample Response:
{
"BookingAmount": 1139.65,
"CancellationAmount": 0.00,
"RefundAmount": 1139.65,
"IsSuccess": true,
"Currency": "SAR",
"ErrorMessage": null
}
Note: This endpoint returns IsSuccess = true if the booking is eligible for cancellation. If the cancellation is not allowed, IsSuccess will be false and the ErrorMessage field will contain the reason.