Rescheduling-Complete rescheduling
- Purpose: After the airline reschedule is completed, it needs to call this interface to mark the corresponding ticket number as completed and backfill the latest ticket number and PNR.
- Request:
POST - Encryption:
No
Request
| Parameter Name |
Type |
Required |
Description |
| requestId |
string |
✅ |
Request ID; unique for each call, 32 bits in length |
| remark |
string |
⬜ |
Remarks information; remarks information to aerohub |
| changeOrderNo |
string |
✅ |
AeroHub’s rescheduled order number |
| passengers |
array/passengers Element |
⬜ |
Quotation information |
array/passengers Element
| Parameter Name |
Type |
Required |
Description |
| formSegments |
array/formSegments Element |
✅ |
Outbound trip; only the rescheduled itinerary information, not required for non-rescheduled itineraries |
| retSegments |
array/retSegments Element |
✅ |
Return trip |
| lastName |
string |
✅ |
PassengerLast name |
| firstName |
string |
✅ |
Passenger First name |
| birthday |
string |
✅ |
Passenger’s birthday; format: YY-MM-DD |
| ageType |
int |
✅ |
Passenger type; 0 Adult 1: Child 2: Infant |
array/formSegments Element
| Parameter Name |
Type |
Required |
Description |
| flightNumber |
string |
✅ |
flight number |
| depAirport |
string |
✅ |
Departure airport; three-character airport code |
| arrAirport |
string |
✅ |
Arrival at the airport; three-character airport code |
| depTime |
string |
✅ |
Departure time; format: YYYY-MM-DD HH:MM:SS |
| arrTime |
string |
✅ |
Arrival time; format: YYYY-MM-DD HH:MM:SS |
| pnr |
string |
✅ |
PNR; rescheduled PNR |
| ticketNumber |
string |
✅ |
Ticket number; ticket number information after rescheduling |
array/retSegments Element
| Parameter Name |
Type |
Required |
Description |
| - |
- |
- |
Source document has undefined fields |
Sample Request
{
"requestId": "{{$string.uuid}}",
"remark": "Processed",
"changeOrderNo": "C20250231211625359",
"passengers": [
{
"formSegments": "10",
"retSegments": "50",
"lastName": "YOKTEK",
"firstName": "JULIUS",
"birthday": "",
"ageType": "0"
}
]
}
Response
| Parameter Name |
Type |
Required |
Description |
| code |
int |
✅ |
code; 200 indicates success, others indicate failure. |
| msg |
string |
✅ |
Message; error message, code is not equal to 200 and error message returned |
Response Example
Example
{
"code": 200,
"msg": "Success"
}
Author:AeroHub Create time:2026-09-23 17:34
Last editor:AeroHub Update time:2026-09-23 18:00