这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
3.4_航段询价_国际机票_iticketfarepolicybytrips [2023/07/31 03:54] 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|String|出票OFFICE号 |编码下单需授权 | | + | | officeNumber |
- | |agencyPolicyRemark|String|代理费政策限制 | | | + | | agencyPolicyRemark |
- | |rewardPolicyRemark|String|奖励政策限制 | | | + | | rewardPolicyRemark |
- | |agencyPolicyRemarkOut|String|代理费政策备注 | | | + | | agencyPolicyRemarkOut |
- | |rewardPolicyRemarkOut|String|奖励政策备注 | | | + | | rewardPolicyRemarkOut |
- | |financeList|Array|价格组 | 每种乘客类型一条数据| | + | | financeList |
- | |IsConvert|Int|是否需转编码 |0:不需要 \\ 1:需要 | | + | | IsConvert |
- | |isItinerary|int|行程单| 1:有行程单 \\ 0:无行程单| | + | | isItinerary |
- | |FareRuleRef|Object|行李额等信息 | | | + | | FareRuleRef |
- | |carrier|String|出票航司 | | | + | | carrier |
- | |ticketType| int | 票证类型 | + | | ticketType |
- | |flights|ObjectArray|行程 | | + | | flights |
+ | | <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: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^ 参数 |
- | |airline|String|航司二字码 | | | + | | airline |
- | |flightNumber|String|航班号 | | | + | | flightNumber |
- | |departureAirportCode|String|出发机场编码 | | | + | | departureAirportCode |
- | |destinationAirportCode|String|到达机场编码 | | | + | | destinationAirportCode |
- | |departureDateTime|String|出发日期时间 | | | + | | departureDateTime |
- | |classNo|String|舱位 | | | + | | classNo |
- | |classAvl|String|舱位数量,如果没有返回就空;如果是核价时底层接口有返回,则显示对应 classNo 的数量 | | | + | | classAvl |
- | |isShare|String|是否共享 | | | + | | isShare |
- | |shareCode|String|共享航班号 | | | + | | shareCode |
- | |equipment|String|机型 | | | + | | equipment |
+ | | <color # | ||
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|String|运价基础 | | | + | | fare_basis_code |
- | |luggageRaw|String|行李额 | | | + | | luggageRaw |
- | |index|Int|序号 | | | + | | index | Int |
- | |origin|String|出发地 | | | + | | origin |
- | |destination|String|目的地 | | | + | | destination |
+ | | minStay | ||
+ | | maxStay | ||
+ | | refund | ||
+ | | change | ||
+ | | noShow | ||
+ | | <color # | ||
+ | | <color # | ||
+ | |||
+ | baggageCarryon / baggageChecked: | ||
+ | ^参数 ^类型 ^说明 ^备注^ | ||
+ | |depAirport|String|出发机场编码 | ||
+ | |desAirport|String|到达机场编码 | ||
+ | |demision|String|每件长宽高 | ||
+ | |pieces|String|件数 | ||
+ | |weight|String|重量 | ||
+ | |description|String|描述 | ||
+ | |depCityCN|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返回样例 ==== |