| Code | Description |
|---|---|
| 0 | Success |
| 1 | Refresh frequency too high |
| 2 | Duplicate request |
| 3 | Decryption error |
| 4 | Departure or arrival city is empty |
| 5 | City not found |
| 6 | Date is empty |
| 7 | Date format incorrect |
| 8 | Date range incorrect |
| 9 | Not supported for refreshing flights beyond one year or those that have already taken off |
| 10 | Unknown error |
| 11 | Request failed |
| 12 | Only supports one-way or round-trip types |
| 13 | Unsupported refresh operation |
| 14 | agentCode missing |
| 15 | Not supported by this supplier |
| 16 | No valid group fare quote |
| 101 | Parameter abnormal |
| 102 | Unsupported engine |
| 103 | No differentiated configuration for all markets |
| 104 | Return information missing |
| 105 | Unsupported refresh operation |
| 106 | No valid group fare quote |
| -1 | Other failure reasons |
{
"request":
{
"vendorCode": "xxxxxxxx",
"tripType": "1",
"depCity": "SEL",
"arrCity": "HKG",
"fromDate": "20251122",
"cabinClass":"Y",
"cutOffTime":"5000",
"retDate": "",
"adultNumber": 1,
"childNumber": 0,
"infantNumber": 0
},
"response":
{
"msg": "success",
"timeLapse": 1761120744219,
"status": 0,
"shoppingResultList":
[
{
"flightRefList":
[
{
"flightRefNum": 1,
"travelDirection": 1,
"flightSeq": 1,
"ticketSeq": 1,
"cabinClass": "Y",
"rbd": "S",
"seatCount": 6
}
],
"data": "6790f2e9-fb5d-486e-b0b9-2e2c40df31f5#973978ff-58b3-4ca6-bb49-f351ef53c721#AT526_E_AT750_E#1",
"ticketList":
[
{
"ticketSeq": 1,
"priceList":
[
{
"passengerType": 0,
"fare": 248.27,
"tax": 35.70
}
],
"validatingCarrier": "KE",
"productType": "PUB",
"fareBasis": "SLE00RKC",
"freeBaggageList":
[
{
"travelDirection": 1,
"flightSeq": 1,
"baggagePiece": 1,
"baggageWeight": 23,
"passengerType": 0,
"carryOnPiece": 0,
"carryOnWeight": -1
}
],
"refundInfoList":
[
{
"passengerType": 0,
"refundType": 0,
"conditionList":
[
{
"start": "-1",
"end": "-1",
"unit": "m",
"refundable": true,
"refundFee": "116.33",
"currency": "USD"
}
]
}
],
"changeInfoList":
[
{
"passengerType": 0,
"changeType": 0,
"conditionList":
[
{
"start": "-1",
"end": "-1",
"unit": "m",
"changeable": true,
"changeFee": "84.60",
"currency": "USD"
}
]
}
],
"currency": "USD",
"ticketTimeUnit": 120
}
]
}
],
"flightList":
[
{
"aircraftCode": "789",
"arrAirport": "HKG",
"arrTerminal": "1",
"arrTime": "202511221120",
"codeShare": false,
"depAirport": "ICN",
"depTerminal": "2",
"depTime": "202511220810",
"flightNumber": 2001,
"flightRefNum": 1,
"marketingCarrier": "KE",
"operatingCarrier": "KE",
"operatingFlightNumber": 2001,
"duration": "250"
}
]
}
}curl --location --request POST 'http://58.250.183.7:31011/api/flight/cacheRefresh' \
--header 'Content-Type: application/json' \
--data-raw '{
"request":
{
"vendorCode": "xxxxxxxx",
"tripType": "1",
"depCity": "SEL",
"arrCity": "HKG",
"fromDate": "20251122",
"cabinClass":"Y",
"cutOffTime":"5000",
"retDate": "",
"adultNumber": 1,
"childNumber": 0,
"infantNumber": 0
},
"response":
{
"msg": "success",
"timeLapse": 1761120744219,
"status": 0,
"shoppingResultList":
[
{
"flightRefList":
[
{
"flightRefNum": 1,
"travelDirection": 1,
"flightSeq": 1,
"ticketSeq": 1,
"cabinClass": "Y",
"rbd": "S",
"seatCount": 6
}
],
"data": "6790f2e9-fb5d-486e-b0b9-2e2c40df31f5#973978ff-58b3-4ca6-bb49-f351ef53c721#AT526_E_AT750_E#1",
"ticketList":
[
{
"ticketSeq": 1,
"priceList":
[
{
"passengerType": 0,
"fare": 248.27,
"tax": 35.70
}
],
"validatingCarrier": "KE",
"productType": "PUB",
"fareBasis": "SLE00RKC",
"freeBaggageList":
[
{
"travelDirection": 1,
"flightSeq": 1,
"baggagePiece": 1,
"baggageWeight": 23,
"passengerType": 0,
"carryOnPiece": 0,
"carryOnWeight": -1
}
],
"refundInfoList":
[
{
"passengerType": 0,
"refundType": 0,
"conditionList":
[
{
"start": "-1",
"end": "-1",
"unit": "m",
"refundable": true,
"refundFee": "116.33",
"currency": "USD"
}
]
}
],
"changeInfoList":
[
{
"passengerType": 0,
"changeType": 0,
"conditionList":
[
{
"start": "-1",
"end": "-1",
"unit": "m",
"changeable": true,
"changeFee": "84.60",
"currency": "USD"
}
]
}
],
"currency": "USD",
"ticketTimeUnit": 120
}
]
}
],
"flightList":
[
{
"aircraftCode": "789",
"arrAirport": "HKG",
"arrTerminal": "1",
"arrTime": "202511221120",
"codeShare": false,
"depAirport": "ICN",
"depTerminal": "2",
"depTime": "202511220810",
"flightNumber": 2001,
"flightRefNum": 1,
"marketingCarrier": "KE",
"operatingCarrier": "KE",
"operatingFlightNumber": 2001,
"duration": "250"
}
]
}
}'{
"status": 0,
"msg": "success"
}