用户工具

站点工具


3.2_退改签条款_iticketrulequeryv2

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
3.2_退改签条款_iticketrulequeryv2 [2024/09/14 10:48]
tiny
3.2_退改签条款_iticketrulequeryv2 [2025/03/07 08:51] (当前版本)
tiny
行 5: 行 5:
  
  
-^参数         ^类型   ^说明          ^必填         ^备注^ +^参数         ^类型   ^说明        ^必填        ^备注^ 
-|serialNumber|String    |航班查询缓存key  |N  | 航班查询接口返回的数据   |  +|serialNumber|String |航班查询缓存key  |Y | 航班查询接口返回的数据|  
-|flightID|String    |航班信息ID     |N  | 航班查询接口返回的数据 需与serialNumber配合使用|   +|flightID|String |航班信息ID  |Y | 航班查询接口返回的数据|   
-|pricingserialNumber|String |计价查询缓存key  |N  | 计价查询接口返回的数据(serialNumber 和 pricingserialNumber 需填一项 ,serialNumber  用于根据航班查询信息获取退改条款,pricingserialNumber用于根据计价信息获取退改条款)|+|pricingserialNumber|String |计价查询缓存key  |Y | 计价查询接口返回的数据(serialNumber 和 pricingserialNumber 需填一项 ,serialNumber  用于根据航班查询信息获取退改条款,pricingserialNumber用于根据计价信息获取退改条款)|
  
  
行 22: 行 22:
 ==== 3.2.3返回参数 ==== ==== 3.2.3返回参数 ====
  
-^参数 ^类型 ^说明 ^备注^ +^参数 ^类型 ^说明 ^备注^ 
-|code   |String |是否调用接口成功   |20000表示成功,非20000表异常 | +|code |String |是否调用接口成功 |20000表示成功,非20000表异常 | 
-|detail |Object |结果集     | 空值 +|detail |Object |结果集  | 空值 
-|description |String    |描述 |当异常时记录异常信息 |+|description |String |描述 |当异常时记录异常信息 |
    
 detail: detail:
  
-^参数 ^类型 ^说明 ^备注^ +^参数 ^类型 ^说明 ^备注^ 
-|passengerType|Int|乘客类型 |0:成人 \\ 1:儿童 \\ 2:婴儿 |  +|passengerType|Int|乘客类型 |0:成人 \\ 1:儿童 \\ 2:婴儿 |  
-|fareRuleList|Array|条款集合    | | +|fareRuleList|Array|条款集合 | | 
  
 fareRuleList: fareRuleList:
  
-^参数 ^类型 ^说明 ^备注^ +^ 参数                                    ^ 类型      ^ 说明     ^ 备注                   
-|departureCityCode|String|出发地    +| departureCityCode                     | String  | 出发地                         
-|departureCityName|String|出发地中文 | | +| departureCityName                     | String  | 出发地中文                       
-|destinationCityCode|String|目的地 | | +| destinationCityCode                   | String  | 目的地                         
-|destinationCityName|String|目的地中文   | | +| destinationCityName                   | String  | 目的地中文                       
-|refund|String|退票   | | +| refund                                | String  | 退票                          
-|change|String|更改   | |  +| change                                | String  | 更改                          
-|miss|String|误机 | |  +| miss                                  | String  | 误机                          
-|shortestStay|String|最短停留   | |  +| shortestStay                          | String  | 最短停留                        
-|longestStay|String|最长停留| |  +| longestStay                           | String  | 最长停留                        
-|luggage|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|行李描述 | 
  
  
行 52: 行 78:
 <code> <code>
 { {
-    "code":"20000", +    "code": "20000", 
-    "detail":[+    "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":"0", +            "passengerType": "2", 
-            "fareRuleList":[+            "fareRuleList": [
                 {                 {
-                    "departureCityCode":"CAN", +                    "departureCityCode": "CAN", 
-                    "departureCityName":"广州", +                    "departureCityName": "广州", 
-                    "destinationCityCode":"SIN", +                    "destinationCityCode": "SIN", 
-                    "destinationCityName":"新加坡", +                    "destinationCityName": "新加坡", 
-                    "refund":" 出发前需付费 CNY 50 在 退票取消 的情况下 出发后不允许退票 在 退票取消 的情况下 ", +                    "fareBasisCode": "NR21CBHO/IN90,NR21CBHO/IN90", 
-                    "change":" 随时 ", +                    "luggage": "广州-香港  香港-新加坡  : 免托运:每人1件每件23公斤每件长宽高之和≤115CM      免费手提:无免费手提行李      ", 
-                    "miss":"允许", +                    "luggageDetail":
-                    "shortestStay":"无特殊最少停留天数", +                        { 
-                    "longestStay":"无特殊最长留天数"+                            "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": "按航空公司票为准"
                 }                 }
             ]             ]
3.2_退改签条款_iticketrulequeryv2.1726310896.txt.gz · 最后更改: 2024/09/14 10:48 由 tiny