Cancellation | CancelCancellation
If you have previously submitted a cancellation and the cancellationStatus of cancellation is ‘SUBMITTED’ but have now decided not to proceed with the cancellation, you can cancel that request.
Notice:
Product Scope :FareMarket
POST
/flight/cancellationParameter
| Field | Mandatory | Type | Scope | Description |
|---|---|---|---|---|
| action | required |
String | CancelCancellation | |
| key | required |
String | API security key applied from AeroHub | |
| signature | required |
String | Refer to Guideline to generate. | |
| timestamp | required |
Int | The ‘timestamp’ field should be a 10-digit Unix timestamp in seconds, used for encryption and data verification. | |
| version | optional |
String | API version information, e.g. 3.2.0 | |
| request | required |
Object | ||
| cancellationNum | required |
String | Cancellation number generated by SubmitCancellation |
Request_Example:
{ "action": "CancelCancellation", "key": "n93mPT7WzN6cLKC2", "signature": "YhQ2EoBQOfOnf/EOnuuuK5i+K+ncydeQhjFpoXYiEMo=", "timestamp": 1685116516, "request": { "cancellationNum": "R20240409152629973" } }
Response
| Field | Type | Description |
|---|---|---|
| status | Int | 0 for success, others for failure, refer to status error appendix for details |
| msg | String | Return message, maximum 64 char |
| cancellationNum | String | Cancellation number generated by SubmitCancellation |
| cancellationStatus | String | For more details visit: Cancellation Status |
Success-Response:
{ "status": 0, "msg": "Success", "cancellationNum": "R20240409152629973", "cancellationStatus": "CANCELED" }
Status Code
| Name | Description |
|---|---|
| 1000 | General system error |
| 1001 | Request parameters or part of parameters missing |
| 1002 | Invalid Action |
| 1003 | API request timeout, please request again |
| 1004 | Invalid request parameter |
| 1005 | Service system error |
| 1101 | Authentication fail, wrong signature |
| 1102 | Account disabled, please contact with account administrator |
| 3201 | The cancellation id does not exist |
| 3301 | The current status does not allow revocation |
Error-Response
{ "status": 1000, "msg": "General system error" }
Author:AeroHub Create time:2024-09-10 13:31
Last editor:AeroHub Update time:2025-10-27 17:02
Last editor:AeroHub Update time:2025-10-27 17:02