获取航班舱位等级对应最低价
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_qtb_r_q | QtbRq | 可选 | qtb入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | GdstiRs | result | |
|
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripAslanGdstiPnrQtbRequest req = new AlitripAslanGdstiPnrQtbRequest(); AlitripAslanGdstiPnrQtbRequest.QtbRq obj1 = new AlitripAslanGdstiPnrQtbRequest.QtbRq(); obj1.setBusinessId(123456L); obj1.setCabinClass( "First:头等舱,Business:商务舱, Economy:经济舱, EconomyPremium:超级经济舱" ); obj1.setOfficeNo( "officeNo" ); obj1.setPnrNo( "PNR" ); obj1.setTicketingAirline( "MU" ); req.setParamQtbRQ(obj1); AlitripAslanGdstiPnrQtbResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | < alitrip_aslan_gdsti_pnr_qtb_response > < result > < err_code >errCode</ err_code > < err_msg >errMsg</ err_msg > < success >true</ success > &l t ;t> < eterm_data >FSI/BK/PREC S BK 3026/27OCT KIX1800 2010TSN0S 738 *无适用的运价 *SYSTEM DEFAULT-CHECK OPERATING CARRIER *SPECIFIED FARE TYPE IS NOT APPLICABLE RFSONLN/1E /EFEP_10/FCC=D/PAGE 1/1</ eterm_data > < price_info > < base_fare >1430</ base_fare > < tax_c_n >190</ tax_c_n > < tax_other >244</ tax_other > < tax_y_q >54</ tax_y_q > < total_fare >1674</ total_fare > < traveller_type >1</ traveller_type > </ price_info > &l t ;/t> </ result > </ alitrip_aslan_gdsti_pnr_qtb_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|