这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
3.5_pnr询价_国际机票_iticketfarepolicybypnr [2024/03/19 01:55] tiny |
3.5_pnr询价_国际机票_iticketfarepolicybypnr [2025/03/19 05:50] (当前版本) doku |
||
---|---|---|---|
行 6: | 行 6: | ||
- | ^参数 | + | ^参数 |
- | |PNR|String |PNR编码 | + | |PNR|String |PNR编码 |
- | |airline|String |出票航司 | + | |airline|String |出票航司 |
- | |passengerTypeList|Array|乘客类型及数量组 | + | |passengerTypeList|Array|乘客类型及数量组 |
passengerTypeList: | passengerTypeList: | ||
- | ^参数 | + | ^参数 |
- | |passengerType|Int|乘客类型 | + | |passengerType|Int|乘客类型 |
- | |passengerCount|Int|乘客人数 | + | |passengerCount|Int|乘客人数 |
行 34: | 行 34: | ||
==== 3.5.3返回参数 ==== | ==== 3.5.3返回参数 ==== | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |code |String |是否调用接口成功 |20000表示成功,非20000表异常 | | + | |code |
- | |detail |Object |结果集 | 空值 | + | |detail |Object |结果集 |
- | |description |String |描述 |当异常时记录异常信息 | | + | |description |String |
detail: | detail: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |serialNumber|String |缓存key | 下单时回传给接口| | + | |serialNumber|String |
- | |financeDetail|Object|价格详情 | | | + | |financeDetail|Object|价格详情 |
- | |workBeginTime|String|工作开始时间 | 格式如:”08: | + | |workBeginTime|String|工作开始时间 |
|workEndTime|String|工作结束时间|格式如:”08: | |workEndTime|String|工作结束时间|格式如:”08: | ||
+ | |payCurrency |String | ||
financeDetail: | financeDetail: | ||
行 63: | 行 64: | ||
| <color # | | <color # | ||
| <color # | | <color # | ||
+ | | <color # | ||
+ | | productLabel | ||
financeList: | financeList: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^ 参数 |
- | |passengerType|Int |乘客类型 |0:成人 \\ 1:儿童 \\ 2:婴儿 \\ 3:老人 \\ 4:学生 \\ 5:劳务 \\ 6:移民 \\ 7:海员 \\ 8:青年 | | + | | passengerType |
- | |salePrice|Decimal |票面价 | | | + | | salePrice |
- | |tax|Decimal |税金 | | | + | | tax |
- | |beforeReturn|float|代理费点数 | | | + | | beforeReturn |
- | |beforeReturnPrice|Decimal|代理费金额 | | | + | | beforeReturnPrice |
- | |afterReturnBase|Decimal|奖励基数 | | | + | | afterReturnBase |
- | |afterReturn|float|奖励点数 | | | + | | afterReturn |
- | |afterReturnPrice|Decimal|奖励金额 | | | + | | afterReturnPrice |
- | |serviceFee|Decimal|服务费 | | | + | | serviceFee |
- | |saleTotal|Decimal|结算价 |票面价+税金-代理费金额-奖励金额+服务费-促销合计金额 | | + | | saleTotal |
- | |saleAdditionRate|String|促销返点 | + | | saleAdditionRate |
- | |saleAdditionMoney|String|促销直减金额 | + | | saleAdditionMoney |
- | |saleAdditionFare|String|促销合计金额 | + | | saleAdditionFare |
+ | | <color # | ||
flights: | flights: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |airline|String|航司二字码 | | | + | |airline|String|航司二字码 |
- | |flightNumber|String|航班号 | | | + | |flightNumber|String|航班号 |
- | |departureAirportCode|String|出发机场编码 | | | + | |departureAirportCode|String|出发机场编码 | | |
- | |destinationAirportCode|String|到达机场编码 | | | + | |destinationAirportCode|String|到达机场编码 |
- | |departureDateTime|String|出发日期时间 | | | + | |departureDateTime|String|出发日期时间 |
- | |classNo|String|舱位 | | | + | |classNo|String|舱位 |
- | |classAvl|String|舱位数量,如果没有返回就空;如果是核价时底层接口有返回,则显示对应 classNo 的数量 | | | + | |classAvl|String|舱位数量,如果没有返回就空;如果是核价时底层接口有返回,则显示对应 classNo 的数量 |
- | |isShare|String|是否共享 | | | + | |isShare|String|是否共享 |
- | |shareCode|String|共享航班号 | | | + | |shareCode|String|共享航班号 | | |
- | |equipment|String|机型 | | | + | |equipment|String|机型 |
|cabinType|String | |cabinType|String | ||
FareRuleRef: | FareRuleRef: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |passenger_rule|Array|乘客规则 | | | + | |passenger_rule|Array|乘客规则 |
passenger_rule: | passenger_rule: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |passenger_type|String|乘客类型 |ADT:成人 \\ [CNN/ | + | |passenger_type|String|乘客类型 |ADT:成人 \\ [CNN/ |
- | |fare_rule|Array|规则 | | | + | |fare_rule|Array|规则 | | |
fare_rule: | fare_rule: | ||
行 116: | 行 120: | ||
| minStay | | minStay | ||
| maxStay | | maxStay | ||
- | | refund | + | | refund |
- | | change | + | | change |
- | | noShow | + | | noShow |
| <color # | | <color # | ||
| <color # | | <color # | ||
行 132: | 行 136: | ||
|depCityCN|String|出发城市中文 | |depCityCN|String|出发城市中文 | ||
|desCityCN|String|到达城市中文 | |desCityCN|String|到达城市中文 | ||
+ | |||
+ | limitingCondition | ||
+ | ^参数 ^类型 ^说明 ^备注^ | ||
+ | |nationalityOrArea|Object|国籍/ | ||
+ | |certificate|Object|证件限制| | | ||
+ | |availableAge|Object|年龄限制| | | ||
+ | |availablePassagerCount|Object|人数限制| | | ||
+ | |||
+ | |||
+ | nationalityOrArea/ | ||
+ | ^参数 ^类型 ^说明 ^备注^ | ||
+ | |isAllow|Boolean|是否允许|true: | ||
+ | |codes|Array|国家/ | ||
+ | |names|Array|国家/ | ||
+ | |||
+ | availableAge | ||
+ | ^参数 ^类型 ^说明 ^备注^ | ||
+ | |minAge|Int|最小年龄限制|默认值: | ||
+ | |maxAge|Int|最大年龄限制|默认值: | ||
+ | |||
+ | availablePassagerCount | ||
+ | ^参数 ^类型 ^说明 ^备注^ | ||
+ | |minCount|Int|最小人数限制 |默认值: | ||
+ | |maxCount|Int|最大人数限制 |默认值: | ||
+ | |beEvenNumber|Boolean|是否偶数人数限制 | | ||
+ | |||
+ | RCVServiceFee | ||
+ | ^参数 ^类型 ^说明 ^备注^ | ||
+ | |ChangeFeeCNY|Float|改签加收服务费 |无数据则以退票时为准 | | ||
+ | |RefundFeeCNY|Float|退票加收服务费 |无数据则以退票时为准 | | ||
+ | |VoidFeeCNY|Float|废票加收服务费 | 无数据则以退票时为准| | ||
==== 3.5.4返回样例 ==== | ==== 3.5.4返回样例 ==== |