用户工具

站点工具


3.2_退改签条款_iticketrulequeryv2

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
3.2_退改签条款_iticketrulequeryv2 [2021/01/25 06:54]
doku 创建
3.2_退改签条款_iticketrulequeryv2 [2025/03/07 08:51] (当前版本)
tiny
行 1: 行 1:
-      +3.2 退改签条款(ITicketRuleQueryV2) 
-      +  
-      + 
-      +==== 3.2.1请求参数 ==== 
-     + 
 + 
 +^参数         ^类型   ^说明        ^必填        ^备注^ 
 +|serialNumber|String |航班查询缓存key |Y | 航班查询接口返回的数据|  
 +|flightID|String |航班信息ID |Y | 航班查询接口返回的数据|   
 +|pricingserialNumber|String |计价查询缓存key |Y | 计价查询接口返回的数据(serialNumber 和 pricingserialNumber 需填一项 ,serialNumber  用于根据航班查询信息获取退改条款,pricingserialNumber用于根据计价信息获取退改条款)| 
 + 
 + 
 +==== 3.2.2请求样例 ==== 
 + 
 +<code> 
 +
 +    "serialNumber":"2d5cd0f854797f7278605b9f46be0052", 
 +    "flightID":"2" 
 +
 +</code> 
 + 
 +==== 3.2.3返回参数 ==== 
 + 
 +^参数 ^类型 ^说明 ^备注^ 
 +|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  | 行李     |                      | 
 +| <color #ed1c24>luggageDetail</color>  | Array   | 行李信息   | 202403 新增            | 
 +| <color #ed1c24>fareBasisCode</color>  | 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|行李描述 | 
 + 
 + 
 + 
 +==== 3.2.4返回样例 ==== 
 + 
 +<code> 
 +
 +    "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": "按航空公司票规为准" 
 +                } 
 +            ] 
 +        } 
 +    ] 
 +
 + 
 +</code>
3.2_退改签条款_iticketrulequeryv2.1611557655.txt.gz · 最后更改: 2021/01/25 06:54 由 doku