用户工具

站点工具


4.8_国内实时航班退改条款_idomesticshoppingrulequeryv2_inside

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
4.8_国内实时航班退改条款_idomesticshoppingrulequeryv2_inside [2022/02/23 08:44]
tiny [4.8.4返回样例]
4.8_国内实时航班退改条款_idomesticshoppingrulequeryv2_inside [2025/03/18 07:54] (当前版本)
doku
行 4: 行 4:
  
 ^参数         ^类型   ^说明        ^必填        ^备注^ ^参数         ^类型   ^说明        ^必填        ^备注^
-|shoppingSerialNumber|String |航班查询key    |Y |字符串 ,来自 IDomesticTicketShopping接口返回。shopping缓存失效后查询会失败 。 | +|shoppingSerialNumber|String |航班查询key    |Y|来自 IDomesticTicketShopping / IGetDomesticShoppingData \\ 接口返回。shopping缓存失效后查询会失败 。 | 
-|flightId|String|实时航班flight_id         |Y          来自 IDomesticTicketShopping接口返回| +|flightId|String|实时航班flight_id         |Y|来自 IDomesticTicketShopping / IGetDomesticShoppingData  \\ 接口返回| 
-|cabinFareId|String |实时航班舱位ID  |Y | 来自 IDomesticTicketShopping接口返回|  +|cabinFareId|String |实时航班舱位ID  |Y|来自 IDomesticTicketShopping / IGetDomesticShoppingData  \\ 接口返回|   
 +|isAsyn|Bool |是否IGetDomesticShoppingData接口航班数据 |N| |  
  
 ==== 4.8.2请求样例 ==== ==== 4.8.2请求样例 ====
行 33: 行 34:
 |ruleId|String |退改条款id |  |  |ruleId|String |退改条款id |  | 
 |ruleItem|Array|退改明细 |  |   |ruleItem|Array|退改明细 |  |  
 +|payCurrency |String  |付款币种  | 客人支付订单时的币种 <color #ed1c24>20250318 新增</color>  |
 ruleItem: ruleItem:
  
-^参数    ^类型 ^说明    ^备注^ +^ 参数                                        ^ 类型       ^ 说明                                                                        ^ 备注             
-|changePrice|Decimal|同舱改签费|  +| changePrice                               | Decimal  | 同舱改签费                                                                                    
-|operatorHourText|String|适用条件|  +| operatorHourText                          | String   | 适用条件                                                                                     
-|operatorTh|Decimal| 10:距离起飞前hour \\ 20:距离起飞前(含)hour \\  30:起飞前X小时后hour \\  40:起飞前X小时后(含)hour | +| operatorTh                                | Decimal  | 10:距离起飞前hour \\ 20:距离起飞前(含)hour \\  30:起飞前X小时后hour \\  40:起飞前X小时后(含)hour                 
-|refundPrice|Decimal|退票费用|  +| refundPrice                               | Decimal  | 退票费用                                                                                     
-|unit|String|时间单位|  10:小时 20:天 | +| unit                                      | String   | 时间单位                                                                          10:小时 20:天 | 
-|depTime|String|起飞前时间  +| depTime                                   | String   | 起飞前时间                                                                     |                
-|text|String|文本型条款|  +| text                                      | String   | 文本型条款                                                                                    
-|changeTips|String|改签|  +| changeTips                                | String   | 改签                                                                                       
-|refundTips|String|退款|  |+| refundTips                                | String   | 退款                                                                                       | 
 +| <color #ed1c24>refund_percent</color>     | decimal  | 退票百分比                                                                     | 2024/03/18 新增 
 +| <color #ed1c24>change_percent</color>     | decimal  | 改签百分比                                                                     | 2024/03/18 新增 
 +| <color #ed1c24>change_price_base</color>  | decimal  | 改签费保底金额                                                                   | 2024/03/18 新增 
 +| <color #ed1c24>refund_price_base</color>  | decimal  | 退票保底金额                                                                    | 2024/03/18 新增 
 +| <color #ed1c24>cabin_code_base</color>    | String   | 计算退改基础舱位                                                                  2024/03/18 新增  |
  
 ==== 4.8.4返回样例 ==== ==== 4.8.4返回样例 ====
行 60: 行 66:
             "ruleItem": [             "ruleItem": [
                 {                 {
-                    "changePrice": "56", +                    "changePrice": "0", 
-                    "refundPrice": "112", +                    "refundPrice": "0", 
-                    "operatorTh": "20", +                    "operatorTh": "0", 
-                    "depTime": "168", +                    "depTime": "0", 
-                    "operatorHourText": "起飞前168小时(含)", +                    "operatorHourText": "", 
-                    "unit": "10"+                    "text": "", 
-                    "text": null+                    "changeTips": "", 
-                    "changeTips": "", +                    "refundTips": "",
-                    "refundTips": ""+
                 }                 }
             ]             ]
4.8_国内实时航班退改条款_idomesticshoppingrulequeryv2_inside.1645605847.txt.gz · 最后更改: 2022/02/23 08:44 由 tiny