用户工具

站点工具


3.2_退改签条款_iticketrulequeryv2

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
3.2_退改签条款_iticketrulequeryv2 [2021/01/25 07:38]
doku
3.2_退改签条款_iticketrulequeryv2 [2025/03/07 08:51] (当前版本)
tiny
行 1: 行 1:
 +3.2 退改签条款(ITicketRuleQueryV2)
 + 
  
 +==== 3.2.1请求参数 ====
  
-  - <font 14.0000pt/inherit;;#000000;;inherit>**退改签条款(ITicketRuleQueryV2)**</font>**** 
-      - <font 12.0000pt/inherit;;#000000;;inherit>**请求参数**</font>**** 
  
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>**参数**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**类型**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**说明**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**必填**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**备注**</font> ** ** | +^参数         ^类型   ^说明        ^必填        ^备注^ 
-\\ <font 10.5000pt/Calibri;;#000000;;inherit>serialNumber</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>航班查询缓存key</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>Y</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>航班查询接口返回的数据</font> +|serialNumber|String |航班查询缓存key  |Y | 航班查询接口返回的数据|  
-\\ <font 10.5000pt/Calibri;;#000000;;inherit>flightID</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>航班信息ID</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>Y</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>航班查询接口返回的数据</font> |+|flightID|String |航班信息ID  |Y | 航班查询接口返回的数据|   
 +|pricingserialNumber|String |计价查询缓存key |Y | 计价查询接口返回的数据(serialNumber 和 pricingserialNumber 需填一项 ,serialNumber  用于根据航班查询信息获取退改条款,pricingserialNumber用于根据计价信息获取退改条款)|
  
-  - - <font 12.0000pt/inherit;;#000000;;inherit>**请求样例**</font>**** 
  
-<font 10.5000pt/Calibri;;#000000;;inherit>{</font>+==== 3.2.2请求样例 ====
  
-<font 10.5000pt/Calibri;;#000000;;inherit>"serialNumber":"2d5cd0f854797f7278605b9f46be0052",</font>+<code> 
 +
 +    "serialNumber":"2d5cd0f854797f7278605b9f46be0052", 
 +    "flightID":"2" 
 +
 +</code>
  
-<font 10.5000pt/Calibri;;#000000;;inherit>"flightID":"2"</font>+==== 3.2.3返回参数 ====
  
-<font 10.5000pt/Calibri;;#000000;;inherit>}</font>+^参数 ^类型 ^说明 ^备注^ 
 +|code |String |是否调用接口成功 |20000表示成功,非20000表异常 | 
 +|detail |Object |结果集 | 空值 
 +|description |String |描述 |当异常时记录异常信息 | 
 +  
 +detail:
  
-  - - <font 12.0000pt/inherit;;#000000;;inherit>**返回参数**</font>****+^参数 ^类型 ^说明 ^备注^ 
 +|passengerType|Int|乘客类型 |0:成人 \\ 1:儿童 \\ 2:婴儿 |  
 +|fareRuleList|Array|条款集合 | | 
  
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>**参数**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**类型**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**说明**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**备注**</font> ** ** | +fareRuleList:
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>detail</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>Array</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>结果集</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>按乘客类型</font>+
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>code</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>是否调用接口成功</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>20000表示成功,</font>  \\  \\ <font 10.5000pt/Calibri;;#000000;;inherit>非20000表异常</font>+
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>description</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>描述</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>当异常时记录异常信息</font> |+
  
-<font 10.5000pt/Calibri;;#000000;;inherit>detail:</font>+^ 参数                                    ^ 类型      ^ 说明     ^ 备注                   ^ 
 +| 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 新增  多个以","隔开  |
  
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>**参数**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**类型**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**说明**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**备注**</font> ** ** | +luggageDetail
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>passengerType</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>乘客类型</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>0:成人</font>  \\  \\ <font 10.5000pt/Calibri;;#000000;;inherit>1:儿童</font>  \\  \\ <font 10.5000pt/Calibri;;#000000;;inherit>2:婴儿</font>+
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>fareRuleList</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>Array</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>条款集合</font> | \\ |+
  
-<font 10.5000pt/Calibri;;#000000;;inherit>fareRuleList:</font>+^参数 ^类型 ^说明 ^备注^ 
 +|depAirport|String|出发地 | 
 +|depCity_cn|String|出发地中文 | | 
 +|desAirport|String|目的地 | | 
 +|desCity_cn|String|目的地中文 | | 
 +|luggageList|Array|行李额信息| | 
  
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>**参数**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**类型**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**说明**</font> ** ** | \\ <font 10.5000pt/Calibri;;#000000;;inherit>**备注**</font> ** ** | +luggageList 
-\\ <font 10.5000pt/Calibri;;#000000;;inherit>departureCityCode</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>出发地</font> | \\ | +^参数 ^类型 ^说明 ^备注^ 
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>departureCityName</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>出发地中文</font> | \\ | +|baggageChecked|Object|托运行李信息  
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>destinationCityCode</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>目的地</font> | \\ | +|baggageCarryon|Object|手提行李信息  |
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>destinationCityName</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>目的地中文</font> | \\ | +
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>refund</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>退票</font> | \\ | +
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>change</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>更改</font> | \\ | +
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>miss</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>误机</font> | \\ | +
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>shortestStay</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>最短停留</font> | \\ | +
-| \\ <font 10.5000pt/Calibri;;#000000;;inherit>longestStay</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> | \\ <font 10.5000pt/Calibri;;#000000;;inherit>最长停留</font> \\ +
-\\ <font 10.5000pt/Calibri;;#000000;;inherit>luggage</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>String</font> \\ <font 10.5000pt/Calibri;;#000000;;inherit>行李</font> \\ |+
  
-  - - <font 12.0000pt/inherit;;#000000;;inherit>**返回样例**</font>**** 
  
-<font 10.5000pt/Calibri;;#000000;;inherit>{</font>+baggageChecked/baggageCarryon
  
-<font 10.5000pt/Calibri;;#000000;;inherit>"code":"20000",</font>+^参数 ^类型 ^说明 ^备注^ 
 +|pieces|String|行李件数 | 
 +|weight|String|行李重量 | 
 +|demision|String|行李体积 | 
 +|description|String|行李描述 |  |
  
-<font 10.5000pt/Calibri;;#000000;;inherit>"detail":[</font> 
  
-<font 10.5000pt/Calibri;;#000000;;inherit>{</font> 
  
-<font 10.5000pt/Calibri;;#000000;;inherit>"passengerType":"0",</font> +==== 3.2.4返回样例 ====
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"fareRuleList":[</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>{</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"departureCityCode":"CAN",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"departureCityName":"广州",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"destinationCityCode":"SIN",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"destinationCityName":"新加坡",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"refund":" 出发前, 需付费 CNY 50 在 退票, 取消 的情况下 出发后, 不允许退票 在 退票, 取消 的情况下 ",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"change":" 随时 ",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"miss":"不允许",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"shortestStay":"无特殊最少停留天数规定",</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>"longestStay":"无特殊最长留天数规定"</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>}</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>]</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>}</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>]</font> +
- +
-<font 10.5000pt/Calibri;;#000000;;inherit>}</font>+
  
 +<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.1611560294.txt.gz · 最后更改: 2021/01/25 07:38 由 doku