3.2 退改签条款(ITicketRuleQueryV2)
参数 | 类型 | 说明 | 必填 | 备注 |
---|---|---|---|---|
serialNumber | String | 航班查询缓存key | Y | 航班查询接口返回的数据 |
flightID | String | 航班信息ID | Y | 航班查询接口返回的数据 |
pricingserialNumber | String | 计价查询缓存key | Y | 计价查询接口返回的数据(serialNumber 和 pricingserialNumber 需填一项 ,serialNumber 用于根据航班查询信息获取退改条款,pricingserialNumber用于根据计价信息获取退改条款) |
{ "serialNumber":"2d5cd0f854797f7278605b9f46be0052", "flightID":"2" }
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
code | String | 是否调用接口成功 | 20000表示成功,非20000表异常 |
detail | Object | 结果集 | 空值 |
description | String | 描述 | 当异常时记录异常信息 |
detail:
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
passengerType | Int | 乘客类型 | 0:成人 1:儿童 2:婴儿 |
fareRuleList | Array | 条款集合 |
fareRuleList:
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
departureCityCode | String | 出发地 | |
departureCityName | String | 出发地中文 | |
destinationCityCode | String | 目的地 | |
destinationCityName | String | 目的地中文 | |
refund | String | 退票 | |
change | String | 更改 | |
miss | String | 误机 | |
shortestStay | String | 最短停留 | |
longestStay | String | 最长停留 | |
luggage | String | 行李 | |
luggageDetail | Array | 行李信息 | 202403 新增 |
fareBasisCode | String | 运价基础 | 202403 新增 多个以“,”隔开 |
luggageDetail
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
depAirport | String | 出发地 | |
depCity_cn | String | 出发地中文 | |
desAirport | String | 目的地 | |
desCity_cn | String | 目的地中文 | |
luggageList | Array | 行李额信息 |
luggageList
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
baggageChecked | Object | 托运行李信息 | |
baggageCarryon | Object | 手提行李信息 |
baggageChecked/baggageCarryon
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
pieces | String | 行李件数 | |
weight | String | 行李重量 | |
demision | String | 行李体积 | |
description | String | 行李描述 |
{ "code": "20000", "detail": [ { "passengerType": "0", "fareRuleList": [ { "departureCityCode": "CAN", "departureCityName": "广州", "destinationCityCode": "SIN", "destinationCityName": "新加坡", "fareBasisCode": "NR21CBHO,NR21CBHO", "luggage": "广州-香港 香港-新加坡 : 免费托运:每人1件每件23公斤每件长宽高之和≤158CM 免费手提:每人1件每件7公斤 每件长宽高之和≤115CM ", "luggageDetail": [ { "depCity_cn": "广州", "depAirport": "CAN", "desCity_cn": "香港", "desAirport": "HKG", "luggageList": [ { "baggageCarryon": { "pieces": "1", "weight": "7", "demision": "115", "description": "UP TO 15 POUNDS/7 KILOGRAMS UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS" } }, { "baggageChecked": { "pieces": "1", "weight": "23", "demision": "158", "description": "UP TO 50 POUNDS/23 KILOGRAMS UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS" } } ] }, { "depCity_cn": "香港", "depAirport": "HKG", "desCity_cn": "新加坡", "desAirport": "SIN", "luggageList": [ { "baggageCarryon": { "pieces": "1", "weight": "7", "demision": "115", "description": "UP TO 15 POUNDS/7 KILOGRAMS UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS" } }, { "baggageChecked": { "pieces": "1", "weight": "23", "demision": "158", "description": "UP TO 50 POUNDS/23 KILOGRAMS UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS" } } ] } ], "refund": "成人:1150HKD/人", "change": "成人:880HKD/人", "miss": "按航空公司票规为准", "shortestStay": "按航空公司票规为准", "longestStay": "按航空公司票规为准" } ] }, { "passengerType": "1", "fareRuleList": [ { "departureCityCode": "CAN", "departureCityName": "广州", "destinationCityCode": "SIN", "destinationCityName": "新加坡", "fareBasisCode": "NR21CBHO/CH25,NR21CBHO/CH25", "luggage": "广州-香港 香港-新加坡 : 免费托运:每人1件每件23公斤每件长宽高之和≤158CM 免费手提:每人1件每件7公斤 每件长宽高之和≤115CM ", "luggageDetail": [ { "depCity_cn": "广州", "depAirport": "CAN", "desCity_cn": "香港", "desAirport": "HKG", "luggageList": [ { "baggageCarryon": { "pieces": "1", "weight": "7", "demision": "115", "description": "UP TO 15 POUNDS/7 KILOGRAMS UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS" } }, { "baggageChecked": { "pieces": "1", "weight": "23", "demision": "158", "description": "UP TO 50 POUNDS/23 KILOGRAMS UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS" } } ] }, { "depCity_cn": "香港", "depAirport": "HKG", "desCity_cn": "新加坡", "desAirport": "SIN", "luggageList": [ { "baggageCarryon": { "pieces": "1", "weight": "7", "demision": "115", "description": "UP TO 15 POUNDS/7 KILOGRAMS UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS" } }, { "baggageChecked": { "pieces": "1", "weight": "23", "demision": "158", "description": "UP TO 50 POUNDS/23 KILOGRAMS UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS" } } ] } ], "refund": "儿童:1150HKD/人", "change": "儿童:880HKD/人", "miss": "按航空公司票规为准", "shortestStay": "按航空公司票规为准", "longestStay": "按航空公司票规为准" } ] }, { "passengerType": "2", "fareRuleList": [ { "departureCityCode": "CAN", "departureCityName": "广州", "destinationCityCode": "SIN", "destinationCityName": "新加坡", "fareBasisCode": "NR21CBHO/IN90,NR21CBHO/IN90", "luggage": "广州-香港 香港-新加坡 : 免费托运:每人1件每件23公斤每件长宽高之和≤115CM 免费手提:无免费手提行李 ", "luggageDetail": [ { "depCity_cn": "广州", "depAirport": "CAN", "desCity_cn": "香港", "desAirport": "HKG", "luggageList": [ { "baggageCarryon": { "pieces": "0", "weight": "0", "demision": null, "description": null } }, { "baggageChecked": { "pieces": "1", "weight": "23", "demision": "115", "description": "UP TO 50 POUNDS/23 KILOGRAMS UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS" } } ] }, { "depCity_cn": "香港", "depAirport": "HKG", "desCity_cn": "新加坡", "desAirport": "SIN", "luggageList": [ { "baggageCarryon": { "pieces": "0", "weight": "0", "demision": null, "description": null } }, { "baggageChecked": { "pieces": "1", "weight": "23", "demision": "115", "description": "UP TO 50 POUNDS/23 KILOGRAMS UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS" } } ] } ], "refund": "婴儿:1150HKD/人", "change": "婴儿:允许", "miss": "按航空公司票规为准", "shortestStay": "按航空公司票规为准", "longestStay": "按航空公司票规为准" } ] } ] }