- FR24_API_V2.0
- 指南
- API 参考
- OrderChangeInforming 订单信息变更通知
- Shopping 航班搜索接口POST
- Pricing 校验接口POST
- Booking 生单接口POST
- Ticketing 申请出票接口POST
- OrderDetail 订单详情接口POST
- PresaleAncillaryShopping 售前辅营搜索接口POST
- PostsaleAncillaryShopping 售后行李搜索接口POST
- seatMap 机型图接口POST
- AncillaryBooking 辅营生单接口POST
- AncillaryPurchase 辅营支付接口POST
- AncillaryOrderDetail 辅营订单详情POST
- ChangeReshop 改期搜索接口POST
- ReissueRequest 改期申请接口POST
- RefundRequest 退票申请接口POST
- RefundConfirming 退票确认接口POST
- VoidRequest 废票提交接口POST
- FileUpload 文件上传POST
- SelectBalance 余额查询接口POST
- 关于我们
PostsaleAncillaryShopping 售后行李搜索接口
POST
/api/new/postsaleAncillaryShopping.do
售后定义:订单申请生单后
请求参数
Header 参数
Accept-Encoding
string
必需
默认值:
gzip, deflate, br
content-Type
string
响应格式
默认值:
application/json
appKey
string
用户账户
默认值:
{{appKey}}
Body 参数application/json
authentication
object
用户认证信息
sign
string
签名
timestamp
string
使用 unix 时间戳
orderNo
string
机票订单 号
示例
{
"authentication": {
"sign": "{{sign}}",
"timestamp": "{{timestamp}}"
},
"orderNo": "18599020016177152"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://flight-test.flightroutes24.com/api/new/postsaleAncillaryShopping.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
"authentication": {
"sign": "",
"timestamp": ""
},
"orderNo": "18599020016177152"
}'
返回响应
🟢200OK
application/json
Body
traceId
string
追溯码
code
string
状态码
message
string
状态说明
processingTime
number
处理时长
>= 0
data
object
返回的所有数据
currency
string
币种
auxes
array[object (航段可添加辅营报价信息) {10}]
航段可添加辅营报价信息
segments
array [object {16}]
航段信息
示例
{
"traceId": "postAuxQuery_NEWAPI2501171147117560810",
"code": "000000",
"message": "成功",
"processingTime": 768,
"data": {
"currency": "CNY",
"auxes": [
{
"segmentIds": [
"4453068fd343a3eb89b823fc48cc2cd9"
],
"auxId": "e59705c27c684477bee39a55dd84b245SINHKG",
"baseFare": 7757,
"serviceFee": 0,
"size": "e",
"piece": 1,
"weight": 20,
"limitPerPax": null,
"availability": null,
"bagType": "CHECK_IN"
},
{
"segmentIds": [
"4453068fd343a3eb89b823fc48cc2cd9"
],
"auxId": "e1e0a9ce86554e2ea7bda4202daf318bSINHKG",
"baseFare": 5823,
"serviceFee": 0,
"size": "e",
"piece": 1,
"weight": 10,
"limitPerPax": null,
"availability": null,
"bagType": "CHECK_IN"
},
{
"segmentIds": [
"4453068fd343a3eb89b823fc48cc2cd9"
],
"auxId": "076ed7e3d8a0450b9ef5ffb15cf91665SINHKG",
"baseFare": 3889,
"serviceFee": 0,
"size": "e",
"piece": 1,
"weight": 15,
"limitPerPax": null,
"availability": null,
"bagType": "CHECK_IN"
},
{
"segmentIds": [
"4453068fd343a3eb89b823fc48cc2cd9"
],
"auxId": "42a4d566b7ab431c89eb34724031eea5SINHKG",
"baseFare": 1955,
"serviceFee": 0,
"size": "e",
"piece": 1,
"weight": 5,
"limitPerPax": null,
"availability": null,
"bagType": "CHECK_IN"
}
],
"segments": [
{
"segmentId": "4453068fd343a3eb89b823fc48cc2cd9",
"duration": 255,
"carrier": "CX",
"flightNo": "636",
"codeShare": false,
"operatingCarrier": null,
"operatingFlightNo": null,
"aircraftCode": "333",
"depAirport": "SIN",
"depTerminal": "4",
"depTime": "2025-04-15T20:10",
"arrAirport": "HKG",
"arrTerminal": "1",
"arrTime": "2025-04-16T00:25",
"stopAirport": null,
"stopDuration": null
}
]
}
}
修改于 2025-01-20 02:45:57