这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
3.4_航段询价_国际机票_iticketfarepolicybytrips [2023/09/21 11:52] tiny |
3.4_航段询价_国际机票_iticketfarepolicybytrips [2025/03/19 05:50] (当前版本) doku |
||
---|---|---|---|
行 1: | 行 1: | ||
3.4 航段询价(ITicketFarePolicyByTrips) | 3.4 航段询价(ITicketFarePolicyByTrips) | ||
+ | \\ 返回< | ||
==== 3.4.1请求参数 ==== | ==== 3.4.1请求参数 ==== | ||
- | ^参数 | + | ^参数 |
- | |airline|String |出票航司 | + | |airline|String |出票航司 |
- | |passengerTypeList|Array|乘客类型及数量组 | + | |passengerTypeList|Array|乘客类型及数量组 |
- | |flightList|Array|航段信息 | + | |flightList|Array|航段信息 |
- | |serialNumber|string|航班查询缓存KEY|N | <color # | + | |serialNumber|string|航班查询缓存KEY|N |
- | |flightID|string|行程ID|N | <color # | + | |flightID|string|行程ID|N | <color # |
passengerTypeList: | passengerTypeList: | ||
- | ^参数 | + | ^参数 |
- | |passengerType|Int|乘客类型 | + | |passengerType|Int|乘客类型 |
- | |passengerCount|Int|乘客人数 | + | |passengerCount|Int|乘客人数 |
flightList: | flightList: | ||
passengerTypeList: | passengerTypeList: | ||
- | ^参数 | + | ^参数 |
- | |airline|String|航司二字码 | + | |airline|String|航司二字码 |
- | |flightNumber|String|航班号 | + | |flightNumber|String|航班号 |
- | |departureAirportCode|String|出发机场编码 | + | |departureAirportCode|String|出发机场编码 |
- | |destinationAirportCode|String|到达机场编码 | + | |destinationAirportCode|String|到达机场编码 |
- | |departureDateTime|String|出发日期时间 |Y | | + | |departureDateTime|String|出发日期时间 |
- | |arrivalDateTime|String|到达日期时间 | + | |arrivalDateTime|String|到达日期时间 |
- | |classNo|String|舱位 | + | |classNo|String|舱位 |
- | |isShare|String|是否共享 |N | 0否 1是 | | + | |isShare|String|是否共享 |
- | |shareCode|String|共享航班号 | + | |shareCode|String|共享航班号 |
- | |equipment|String|机型 | + | |equipment|String|机型 |
==== 3.4.2请求样例 ==== | ==== 3.4.2请求样例 ==== | ||
行 57: | 行 58: | ||
==== 3.4.3返回参数 ==== | ==== 3.4.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: | ||
- | ^ 参数 | + | ^ 参数 |
- | | officeNumber | + | | officeNumber |
- | | agencyPolicyRemark | + | | agencyPolicyRemark |
- | | rewardPolicyRemark | + | | rewardPolicyRemark |
- | | agencyPolicyRemarkOut | + | | agencyPolicyRemarkOut |
- | | rewardPolicyRemarkOut | + | | rewardPolicyRemarkOut |
- | | financeList | + | | financeList |
- | | IsConvert | + | | IsConvert |
- | | isItinerary | + | | isItinerary |
- | | FareRuleRef | + | | FareRuleRef |
- | | carrier | + | | carrier |
- | | ticketType | + | | ticketType |
- | | flights | + | | flights |
- | | <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 |
- | |productType | + | | productType |
+ | | saleAdditionRate | ||
+ | | saleAdditionMoney | ||
+ | | saleAdditionFare | ||
+ | | <color # | ||
FareRuleRef: | FareRuleRef: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |passenger_rule|Array|乘客规则 | | | + | |passenger_rule|Array|乘客规则 |
flights: | flights: | ||
行 121: | 行 129: | ||
passenger_rule: | passenger_rule: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^参数 ^类型 ^说明 ^备注^ |
- | |passenger_type|String|乘客类型 |ADT:成人 \\ [CNN/ | + | |passenger_type|String|乘客类型 |ADT:成人 \\ [CNN/ |
- | |fare_rule|Array|规则 | | | + | |fare_rule|Array|规则 | | |
fare_rule: | fare_rule: | ||
- | ^ 参数 | + | ^ 参数 |
- | | fare_basis_code | + | | fare_basis_code |
- | | luggageRaw | + | | luggageRaw |
- | | index | Int | 序号 | + | | index | Int | 序号 |
- | | origin | + | | origin |
- | | destination | + | | destination |
- | | minStay | + | | minStay |
- | | maxStay | + | | maxStay |
- | | refund | + | | refund |
- | | change | + | | change |
- | | noShow | + | | noShow |
- | | <color # | + | | <color # |
- | | <color # | + | | <color # |
baggageCarryon / baggageChecked: | baggageCarryon / baggageChecked: | ||
行 151: | 行 159: | ||
|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.4.4返回样例 ==== | ==== 3.4.4返回样例 ==== |