商旅机票改签航班询价
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_btrip_flight_modify_flight_info_rq | BtripFlightModifyFlightInfoRq | 可选 | 改签询价入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResult | 响应结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripFlightDistributionChangeQueryRequest req = new AlitripBtripFlightDistributionChangeQueryRequest(); AlitripBtripFlightDistributionChangeQueryRequest.BtripFlightModifyFlightInfoRq obj1 = new AlitripBtripFlightDistributionChangeQueryRequest.BtripFlightModifyFlightInfoRq(); obj1.setArrCity("HGH"); obj1.setDepCity("BJS"); obj1.setIsVoluntary(1L); obj1.setModifyDepartDate("2021-07-31"); obj1.setModifyFlightNo("MU8431"); obj1.setDisOrderId("4572546156"); obj1.setPassengerName("张三"); obj1.setSubChannel("jianhang001"); req.setParamBtripFlightModifyFlightInfoRq(obj1); AlitripBtripFlightDistributionChangeQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_btrip_flight_distribution_change_query_response> <result> <module> <flight_info_list> <flight_info_dto> <airline_info> <airline_code></airline_code> <airline_name></airline_name> <airline_simple_name></airline_simple_name> </airline_info> <arr_airport_info> <airport_code></airport_code> <airport_name></airport_name> <city_code></city_code> <city_name></city_name> <terminal></terminal> </arr_airport_info> <build_price></build_price> <cabin></cabin> <cabin_class></cabin_class> <cabin_list> <cabin_info> <cabin></cabin> <cabin_class></cabin_class> <cabin_desc></cabin_desc> <child_cabin></child_cabin> <left_num></left_num> <modify_price_list> <modify_price> <passenger_type></passenger_type> <upgrade_fee></upgrade_fee> <modify_price></modify_price> </modify_price> </modify_price_list> </cabin_info> </cabin_list> <carrier_airline></carrier_airline> <carrier_no></carrier_no> <dep_airport_info> <airport_code></airport_code> <airport_name></airport_name> <city_code></city_code> <city_name></city_name> <terminal></terminal> </dep_airport_info> <dep_city_code></dep_city_code> <dep_date></dep_date> <discount></discount> <flight_no></flight_no> <is_share></is_share> <is_stop></is_stop> <lowest_cabin></lowest_cabin> <lowest_cabin_class></lowest_cabin_class> <lowest_cabin_num></lowest_cabin_num> <lowest_cabin_price_list> <modify_price> <passenger_type></passenger_type> <upgrade_fee></upgrade_fee> <modify_price></modify_price> </modify_price> </lowest_cabin_price_list> <oil_price></oil_price> <stop_arr_time></stop_arr_time> <stop_city></stop_city> <stop_dep_time></stop_dep_time> <ticket_price></ticket_price> <total_price></total_price> </flight_info_dto> </flight_info_list> </module> <result_code></result_code> <result_msg></result_msg> <success></success> </result> </alitrip_btrip_flight_distribution_change_query_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|