Flight API GetAirCancellationQuote

Flight API

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.