Rescheduling-Flight search-Submit rescheduling
- Purpose: Rescheduling search mode-submit rescheduling order
Supply side provides interface
After creating a rescheduling, the default is the quotation completion status. There is no need to process the rescheduling. The supplier needs to receive confirm (it will be pushed within 1 minute). When processing the rescheduling with the airline, if the confirmation notification is not received, it will be ignored directly. - Request:
POST - Endpoint URLs
/Reschedule submit - Encryption:
No
Request
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| requestId | string |
✅ | Request ID; unique for each call, 32 bits in length |
| purchaseOrderNo | string |
✅ | AeroHub order number |
| changeType | string |
✅ | Rescheduling type; VOLUNTARY: voluntary rescheduling INVOLUNTARY: Involuntary rescheduling |
| changeReason | string |
⬜ | Reason for involuntary rescheduling; valid when changeType=INVOLUNTARY FLIGHT_CHANGE:Flight change FLIGHT_CANCEL:Flight canceled |
| passengers | array/passengers Element |
✅ | Passengers who need to reschedule |
| fromSegments | array/fromSegments Element |
⬜ | Outbound flight segment information that needs to be rescheduled |
| retSegments | array/retSegments Element |
⬜ | Return segment information that needs to be rescheduled |
| changeOrderNo | string |
✅ | aerohub rescheduling order number; after the rescheduling is submitted successfully, the supplier needs to record this order number, and this order can be used later to complete the rescheduling or reject the order. |
| routingKey | string |
✅ | The routingKey that needs to be rescheduled; the information corresponding to the search interface flightList |
| amount | float |
✅ | Total fee change fee; changeFee+fareDifference+taxDifference |
| changeFee | float |
✅ | total change fee |
| fareDifference | float |
✅ | Total fare and warehouse fee |
| taxDifference | float |
✅ | Total tax warehouse fee |
array/passengers Element
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| lastName | string |
✅ | Passenger last name; capitalized |
| firstName | string |
✅ | Passenger first name; capitalized |
| birthday | string |
⬜ | Birthday; format: xxxx-xx-xx |
| cardNo | string |
⬜ | ID number |
| ageType | int |
✅ | Passenger type; 0: Adult 1:Children 2:baby |
| gender | string |
✅ | Passenger gender; F: male, M: female |
| nationality | string |
⬜ | Nationality two-character code; ISO country two-character code |
| expired | string |
⬜ | Certificate expiration time; format: xxxx-xx-xx |
Sample Request
{
"requestId": "string",
"purchaseOrderNo": "string",
"changeOrderNo": "string",
"changeType": "string",
"changeReason": "string",
"passengers": [
{
"ageType": 0,
"gender": "string",
"lastName": "string",
"firstName": "string",
"birthday": "string",
"nationality": "string",
"cardNo": "string",
"expired": "string"
}
],
"routingKey": "string",
"amount": 0,
"changeFee": 0,
"fareDifference": 0,
"taxDifference": 0
}Response
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| code | int |
✅ | code code; 200 means the submission of rescheduling is successful and there is no objection to the current rescheduling price. 201 means rescheduling and price change, need to search again Other error messages are not limited to code values, but the error message must be specified in smg |
| msg | string |
✅ | Message; used for error prompts, this information must be returned when code is equal to 202 |
Response Example
Successful Examples
{
"code": 200,
"msg": "Success"
}Return on failure
{
"code": 202,
"msg": "Price changed"
}Author:AeroHub Create time:2026-09-23 17:34
Last editor:AeroHub Update time:2026-09-23 18:00
Last editor:AeroHub Update time:2026-09-23 18:00