这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
3.9_订单详情_itoorderdetailquery [2023/09/21 11:56] tiny |
3.9_订单详情_itoorderdetailquery [2025/03/25 08:09] (当前版本) tiny [表] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | 3.12 国际Pricing(IPricingBySeg) | + | 3.9订单详情(ITOOrderDetailQuery) |
- | \\ 返回多组国际运价; | + | |
- | 当PNR不为空时,则使用PNR计价,否则使用行段计价 | + | |
- | ==== 3.12.1请求参数 ==== | + | ==== 3.9.1请求参数 ==== |
- | ^ 参数 | ||
- | | airline | ||
- | | passengerTypeList | ||
- | | bookingOffice | ||
- | | serialNumber | ||
- | | flightID | ||
- | | PNR | String | ||
- | | flightList | ||
- | |||
- | |||
- | passengerTypeList: | ||
^参数 | ^参数 | ||
- | |passengerType|String|乘客类型 | + | |TOOrderID |
- | |passengerCount|String|乘客人数 | + | |QDOrderID |
- | flightList: | + | |
- | ^参数 | + | ==== 3.9.2请求样例 ==== |
- | |airline|String|航司二字码 | + | |
- | |flightNumber|String|航班号 | + | |
- | |departureAirportCode|String|出发机场编码 | + | |
- | |destinationAirportCode|String|到达机场编码 | + | |
- | |departureDateTime|String|出发日期时间 | + | |
- | |arrivalDateTime|String|到达日期时间 | + | |
- | |classNo|String|舱位 | + | |
- | |isShare|String|是否共享 | + | |
- | |shareCode|String|共享航班号 | + | |
- | |equipment|String|机型 | + | |
- | + | ||
- | + | ||
- | ==== 3.12.2请求样例 ==== | + | |
< | < | ||
{ | { | ||
- | "airline":" | + | "TOOrderID": "TO19010135632" |
- | " | + | |
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | ], | + | |
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | ] | + | |
} | } | ||
+ | |||
</ | </ | ||
- | ==== 3.12.3返回参数 ==== | + | ==== 3.9.3返回参数 ==== |
^参数 ^类型 ^说明 ^备注^ | ^参数 ^类型 ^说明 ^备注^ | ||
|code | |code | ||
- | |detail |Object |结果集 | + | |detail |Object |结果集 |
|description |String | |description |String | ||
- | + | ||
detail: | detail: | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | ^ 参数 |
- | |serialNumber|String | + | | orderInfo |
- | |financeDetail|Object|价格详情 | + | | flightList |
- | |workBeginTime|String|工作开始时间 | + | | passengerList |
- | |workEndTime|String|工作结束时间|格式如:”08: | + | | financeDetail |
+ | | ioSaleTotalList | ||
+ | | contact | ||
+ | | OOOrderInfo | ||
+ | | <color # | ||
+ | | <color # | ||
+ | orderInfo: | ||
+ | ^ 参数 | ||
+ | | orderID | ||
+ | | status | ||
+ | | pnr | String | ||
+ | | airlinepnr | ||
+ | | productSubType | ||
+ | | <color # | ||
+ | | <color # | ||
+ | | <color # | ||
- | financeDetail: | ||
- | ^ 参数 | ||
- | | officeNumber | ||
- | | agencyPolicyRemark | ||
- | | rewardPolicyRemark | ||
- | | agencyPolicyRemarkOut | ||
- | | rewardPolicyRemarkOut | ||
- | | financeList | ||
- | | IsConvert | ||
- | | isItinerary | ||
- | | FareRuleRef | ||
- | | carrier | ||
- | | ticketType | ||
- | | flights | ||
- | | <color # | ||
+ | flightList: | ||
- | financeList: | + | ^ 参数 |
+ | | flightID | ||
+ | | departTime | ||
+ | | destTime | ||
+ | | airline | ||
+ | | flightNo | ||
+ | | classNo | ||
+ | | depAir | ||
+ | | depAirCN | ||
+ | | desAir | ||
+ | | desAirCN | ||
+ | | depTerm | ||
+ | | desTerm | ||
+ | | <color # | ||
- | ^参数 ^类型 ^说明 ^备注^ | + | passengerList: |
- | |passengerType|String |乘客类型 |0:成人 \\ 1:儿童 \\ 2:婴儿 \\ 3:老人 \\ 4:学生 \\ 5:劳务 \\ 6:移民 \\ 7:海员 \\ 8:青年 | | + | |
- | |salePrice|String |票面价 | + | |
- | |tax|String |税金 | | | + | |
- | |beforeReturn|String|代理费点数 | + | |
- | |beforeReturnPrice|String|代理费金额 | | | + | |
- | |afterReturnBase|String|奖励基数 | + | |
- | |afterReturn|String|奖励点数 | + | |
- | |afterReturnPrice|String|奖励金额 | + | |
- | |serviceFee|String|服务费 | + | |
- | |saleTotal|String|结算价 | + | |
- | |beforeReturnMoney|String|代理费直减金额 | + | |
- | |afterReturMoney|String|奖励直减金额 | + | |
- | | productType | + | |
- | FareRuleRef: | + | ^ 参数 |
- | ^参数 ^类型 ^说明 ^备注^ | + | | passengerID |
- | |passenger_rule|Array|乘客规则 | | | + | | name | String |
+ | | passengerType | ||
+ | | nationality | ||
+ | | IDType | ||
+ | | IDNumber | ||
+ | | IDExpiration | ||
+ | | gender | ||
+ | | birthday | ||
+ | | PNR | String | ||
+ | | ticketNo | ||
+ | | <color # | ||
+ | | <color # | ||
+ | | status | ||
+ | | <color # | ||
+ | | <color # | ||
- | flights: | + | | IOOrderIDList |
- | ^ 参数 | + | |
- | | airline | + | |
- | | flightNumber | + | |
- | | departureAirportCode | + | |
- | | destinationAirportCode | + | |
- | | departureDateTime | + | |
- | | classNo | + | |
- | | classAvl | + | |
- | | isShare | + | |
- | | shareCode | + | |
- | | equipment | + | |
- | | <color # | + | |
- | passenger_rule: | ||
- | ^参数 ^类型 ^说明 ^备注^ | ||
- | |passenger_type|String|乘客类型 |ADT:成人 \\ [CNN/ | ||
- | |fare_rule|Array|规则 | | | ||
- | fare_rule: | + | IOOrderIDList: |
- | ^ 参数 | + | |
- | | fareBasisCode | + | |
- | | luggageRaw | + | |
- | | index | Int | 序号 | + | |
- | | origin | + | |
- | | destination | + | |
- | | minStay | + | |
- | | maxStay | + | |
- | | refund | + | |
- | | change | + | |
- | | noShow | + | |
- | | <color # | + | |
- | | <color # | + | |
- | baggageCarryon / baggageChecked: | + | ^参数 |
- | ^参数 ^类型 ^说明 ^备注^ | + | |IOOrderID|String | 保险单号 |
- | |depAirport|String|出发机场编码 | + | |recognizee|String | 投保乘客 |
- | |desAirport|String|到达机场编码 | + | |insureNumber|String | 投保编号 |
- | |demision|String|每件长宽高 | + | |insureCount|String | 投保份数 | | |
- | |pieces|String|件数 | | | + | |salePrice|String | 投保金额 | | |
- | |weight|String|重量 | + | |orderStatus|String | 保险状态 |
- | |description|String|描述 | + | |orderStatusName|String | 保险状态名称 |
- | |depCityCN|String|出发城市中文 | + | |effectDateStr|String | 生效时间 |
- | |desCityCN|String|到达城市中文 | + | |expiryDateStr|String | 失效时间 |
+ | financeDetail: | ||
+ | |||
+ | ^参数 | ||
+ | |<color # | ||
+ | |officeNumber|String | Office | ||
+ | |agencyPolicyRemark|String | 代理费政策限制| | | ||
+ | |rewardPolicyRemark|String | 奖励政策限制| | | ||
+ | |financeList|Array| 价格组| | ||
+ | |||
+ | financeList | ||
+ | ^参数 | ||
+ | |passengerType|Int | ||
+ | |salePrice| Decimal |票面价 | | | ||
+ | |tax|Decimal | ||
+ | |beforeReturn|Decimal | ||
+ | |beforeReturnPrice|Decimal | ||
+ | |afterReturnBase|Decimal | ||
+ | |afterReturn|Decimal | ||
+ | |afterReturnPrice|Decimal | ||
+ | |serviceFee|Decimal |服务费 | | | ||
+ | |saleTotal|Decimal | ||
+ | ioSaleTotalList | ||
+ | ^ 参数 | ||
+ | | IOOrderID | ||
+ | | orderStatus | ||
+ | | priceSeq | ||
+ | | payedTotal | ||
+ | | unPayTotal | ||
+ | | saleTotal | ||
- | ==== 3.12.4返回样例 ==== | + | |
+ | contact: | ||
+ | ^ 参数 | ||
+ | | linker | ||
+ | | phone | String | ||
+ | | email | String | ||
+ | | content | ||
+ | | isEmail | ||
+ | | isSMS | Boolean | ||
+ | | <color # | ||
+ | | <color # | ||
+ | |||
+ | OOOrderInfo: | ||
+ | ^参数 | ||
+ | |orderID | ||
+ | |orderStatus | ||
+ | |saleTotal | ||
+ | |NDCProducts | ||
+ | NDCProducts: | ||
+ | ^参数 | ||
+ | |psgId | ||
+ | |psgType | ||
+ | |psgName | ||
+ | |tripNumber | ||
+ | |name | ||
+ | |text | ||
+ | |salePrice | ||
+ | |currency | ||
+ | |weight | ||
+ | |quantity | ||
+ | |proType | ||
+ | |orgcity | ||
+ | |descity | ||
+ | |||
+ | |||
+ | attachmentList: | ||
+ | ^参数 | ||
+ | |id |string | ||
+ | |name |string | ||
+ | |path |string | ||
+ | RCVServiceFee | ||
+ | ^参数 | ||
+ | |RefundFeeCNY|float|退票加收服务费 | ||
+ | |ChangeFeeCNY|float|改签收服务费 | ||
+ | |VoidFeeCNY|float|废票加收服务费 | ||
+ | |||
+ | |||
+ | ==== 3.9.4返回样例 ==== | ||
< | < | ||
{ | { | ||
- | " | + | " |
- | " | + | " |
- | { | + | |
- | "serialNumber": "c83907382a4fdca1cc2638c69e4789d3", | + | "orderID":" |
- | "workBeginTime": "06: | + | "status":6, |
- | "workEndTime": "23:56:26", | + | |
- | "financeDetail": | + | " |
- | "officeNumber": "CAN826", | + | }, |
- | "agencyPolicyRemark": "", | + | " |
- | "rewardPolicyRemark": "", | + | { |
- | "agencyPolicyRemarkOut": "", | + | " |
- | "rewardPolicyRemarkOut": "", | + | " |
- | "financeList": | + | "destTime":" |
- | { | + | "airline":" |
- | "passengerType": "0", | + | "flightNo":" |
- | "salePrice": | + | "classNo":" |
- | "tax": | + | "depAir":" |
- | "beforeReturn": | + | "depAirCN":" |
- | "beforeReturnPrice": | + | "desAir":" |
- | "afterReturnBase": | + | "desAirCN":" |
- | "afterReturn": | + | " |
- | "afterReturnPrice": | + | "destinationCityName":" |
- | "serviceFee": | + | }, |
- | "saleTotal": | + | { |
- | "beforeReturnMoney": | + | |
- | "afterReturMoney": | + | "departTime":" |
- | } | + | "destTime":" |
- | | + | "airline":" |
- | "IsConvert": | + | "flightNo":" |
- | "isItinerary": | + | "classNo":" |
- | "FareRuleRef": | + | "depAir":" |
- | "passenger_rule": | + | "depAirCN":" |
- | { | + | "desAir":" |
- | | + | "desAirCN":" |
- | "fare_rule": | + | "departureCityName":" |
- | { | + | " |
- | | + | |
- | "luggageRaw": "20K", | + | { |
- | "index": | + | |
- | "origin": "CAN", | + | "departTime":" |
- | "destination": "SIN", | + | "destTime":" |
- | "refund": "1.退票: 不允许。", | + | "airline":" |
- | "change": "2.更改: 机票仅在韩国出售,允许,每张客票收取手续费 90800韩元暬 | + | "flightNo":" |
- | "maxStay": "最长停留: 12个月。", | + | "classNo":" |
- | "minStay": "最短停留: 无限制。", | + | "depAir":" |
- | "noShow": "3.误机: 无限制。" | + | "depAirCN":" |
- | } | + | "desAir":" |
- | ] | + | "desAirCN":" |
- | } | + | "departureCityName":" |
- | ] | + | "destinationCityName":" |
- | | + | }, |
+ | { | ||
+ | | ||
+ | " | ||
+ | "destTime":" | ||
+ | "airline":" | ||
+ | " | ||
+ | "classNo":" | ||
+ | " | ||
+ | "depAirCN":" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | | ||
} | } | ||
+ | ], | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
} | } | ||
- | | + | |
} | } | ||
</ | </ |