Get Cancellation Charges
Get Cancellation Charges is used to check the total amount that will be charged when a flight ticket is cancelled. It provides a breakdown of cancellation fees, airline penalties, and the expected refund amount (if applicable). This helps users clearly understand how much they will be charged or refunded before they proceed with the cancellation, allowing them to make an informed decision.
Service URL (REST) to be used:
https://flight.srdvtest.com/v8/rest/GetCancellationCharges
Get Cancellation Charges Request
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
| 2 | UserName | String | Username provided to the agency at registration | Mandatory |
| 3 | Password | String | Password provided to the agency at registration | Mandatory |
| 4 | EndUserIp | String | IP Address of the End User | Mandatory |
| 5 | RequestType | String | Type of cancellation: [FullCancellation = 1,PartialCancellation = 2] | Mandatory |
| 6 | TraceId | String | Trace Id | Mandatory |
Get Cancellation Charges Response
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | Error{} | Object | Error | Mandatory |
| 1.1 | ErrorCode | String | ErrorCode | Mandatory |
| 1.2 | ErrorMessage | String | Error Message | Mandatory |
| 2 | Result | Array | Result | Mandatory |
| 2.1 | Segments | Array | Segments | Mandatory |
| 2.1.1 | FromAirport | String | From Airport Code | Mandatory |
| 2.1.2 | ToAirport | String | To Airport Code | Mandatory |
| 2.1.3 | RefundAmount | String | Refund Amount | Mandatory |
| 2.1.4 | CancellationCharge | String | Cancellation Charge | Mandatory |
| 2.1.5 | Remarks | String | Remark | Mandatory |
| 2.2 | CancellationType | String | Cancellation Charge Per Pax | Mandatory |
| 2.3 | TotalRefundAmount | String | Refund Amount | Mandatory |
| 2.4 | TotalCancellationCharge | String | Cancellation Charge | Mandatory |