Change | CancelChange

Cancel rescheduling request, invoked before ConfirmChange if necessary.

Notice:
Product Scope :FareMarket

POST

/flight/change

Parameter

Field Mandatory Type Scope Description
action required String CancelChange
key required String API security key applied from AeroHub.
signature required String Refer to the Guidelines for generation.
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
  changeNum required String Rescheduling order number generated by API “SubmitChange”.

Request_Example:

{
  "action": "CancelChange",
  "key": "n93mPT7WzN6cLKC2",
  "signature": "YhQ2EoBQOfOnf/EOnuuuK5i+K+ncydeQhjFpoXYiEMo=",
  "timestamp": 1685116516,
  "request": {
    "changeNum":"C20241018101144760"
  }
}

Response

Field Type Description
status Int 0: Succeeded
Others: Failed
Refer to “Status Code” below for details.
msg String Return message, maximum 64 characters.
changeNum String Rescheduling order number.

Success-Response:

{
  "status": 0,
  "msg": "Success",
  "changeNum": "C20241018101144760"
}

Status Code

Name Description
7708 The change ID does not exist.
1001 The current state does not allow withdraw.
1002 Withdrawal failed.

Error-Response

{
    "status": 1000,
    "msg": "General system error"
}
Author:SunKang  Create time:2024-11-18 17:27
Last editor:AeroHub  Update time:2025-04-22 14:25