【商旅】机票订单详情查询
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| rq | OpenApiSearchDetailRq | 必须 | 请求对象 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | HisvResult | 出参对象 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripBtripSupplychainFlightDetailSearchRequest req = new AlitripBtripSupplychainFlightDetailSearchRequest();
AlitripBtripSupplychainFlightDetailSearchRequest.OpenApiSearchDetailRq obj1 = new AlitripBtripSupplychainFlightDetailSearchRequest.OpenApiSearchDetailRq();
obj1.setCorpId("corp1");
obj1.setOrderId(123L);
obj1.setUserId("user1");
obj1.setVersion(2L);
req.setRq(obj1);
AlitripBtripSupplychainFlightDetailSearchResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<alitrip_btrip_supplychain_flight_detail_search_response>
<result>
<result_code>0</result_code>
<is_success>true</is_success>
<result_msg>成功</result_msg>
<module>
<order_base_info>
<gmt_modify>2017-05-01 00:00:00</gmt_modify>
<corp_id>corp1</corp_id>
<order_id>1234</order_id>
<contact_name>张三</contact_name>
<order_status>5</order_status>
<thirdpart_apply_id>123334</thirdpart_apply_id>
<corp_name>企业1</corp_name>
<gmt_create>2017-05-01 00:00:00</gmt_create>
<user_id>user1</user_id>
<apply_id>123</apply_id>
<thirdpart_itinerary_id>43dsd</thirdpart_itinerary_id>
<btrip_title>出差</btrip_title>
<trip_type>2</trip_type>
<itinerary_id>43dsd</itinerary_id>
<depart_id>dept1</depart_id>
<depart_name>部门1</depart_name>
<thirdpart_corp_id>corp1</thirdpart_corp_id>
</order_base_info>
<price_info_list>
<price_info>
<passenger_name>张三,李四</passenger_name>
<pay_type>4</pay_type>
<price>100</price>
<category_code>1</category_code>
<type>1</type>
<gmt_create>2017-05-01 00:00:00</gmt_create>
<trade_id>12312312001</trade_id>
</price_info>
</price_info_list>
<invoice_info>
<id>123</id>
<title>阿里巴巴</title>
</invoice_info>
<flight_refund_ticket_info_list>
<flight_refund_ticket_info>
<refund_order_id>123</refund_order_id>
<ticket_no>000-13232</ticket_no>
<gmt_create>2017-05-01 00:00:00</gmt_create>
<gmt_modify>2017-05-01 00:00:00</gmt_modify>
<refund_type>0</refund_type>
<refund_reason>退票</refund_reason>
<refund_ticket_fee>100</refund_ticket_fee>
</flight_refund_ticket_info>
</flight_refund_ticket_info_list>
<flight_info_list>
<flight_info>
<arr_city_name>兰州</arr_city_name>
<dep_time>2017-05-01 00:00:00</dep_time>
<cabin>V</cabin>
<dep_airport_code>NGB</dep_airport_code>
<cabin_level>Y</cabin_level>
<flight_no>MU3849</flight_no>
<arr_city_code>LHW</arr_city_code>
<dep_city_name>宁波</dep_city_name>
<airline_code>MU</airline_code>
<dep_airport_name>栎社国际机场</dep_airport_name>
<arr_airport_name>兰州中川机场</arr_airport_name>
<flight_mile>900</flight_mile>
<arr_time>2017-05-01 00:00:00</arr_time>
<arr_airport_code>LHW</arr_airport_code>
<airline_name>东航</airline_name>
<dep_city_code>NGB</dep_city_code>
</flight_info>
</flight_info_list>
<insurance_info_list>
<insurance_info>
<insurance_no>abcdefg</insurance_no>
<status>1</status>
<type>航空意外险</type>
<amount>100</amount>
</insurance_info>
</insurance_info_list>
<flight_ticket_info_list>
<flight_ticket_info>
<gmt_modify>2017-05-01 00:00:00</gmt_modify>
<ticket_price>100</ticket_price>
<discount>10</discount>
<gmt_create>2017-05-01 00:00:00</gmt_create>
<user_id>123</user_id>
<oil_price>100</oil_price>
<pay_type>0</pay_type>
<ticket_no>000-123</ticket_no>
<ticket_status>OPEN</ticket_status>
<build_price>5000</build_price>
<changed>false</changed>
<ticket_status_code>1</ticket_status_code>
</flight_ticket_info>
</flight_ticket_info_list>
<passenger_info_list>
<passenger_info>
<project_code>abc</project_code>
<cost_center_id>123</cost_center_id>
<cost_center_name>测试成本中心</cost_center_name>
<user_type>0</user_type>
<cost_center_number>123123</cost_center_number>
<thirdpart_project_id>234</thirdpart_project_id>
<user_name>张三</user_name>
<project_id>0</project_id>
<user_id>123</user_id>
<project_title>测试项目</project_title>
</passenger_info>
</passenger_info_list>
<flight_change_ticket_info_list>
<flight_change_ticket_info>
<change_order_id>123</change_order_id>
<ticket_no>000-123123</ticket_no>
<gmt_create>2017-05-01 00:00:00</gmt_create>
<gmt_modify>2017-05-01 00:00:00</gmt_modify>
<origin_ticket_no>000-123123</origin_ticket_no>
<change_flight_no>MU7767</change_flight_no>
<change_cabin>V</change_cabin>
<change_cabin_level>Y</change_cabin_level>
<dep_time>2017-05-01 00:00:00</dep_time>
<arr_time>2017-05-01 00:00:00</arr_time>
<change_type>0</change_type>
<change_reason>个人原因</change_reason>
<change_fee>100</change_fee>
<upgrade_fee>100</upgrade_fee>
</flight_change_ticket_info>
</flight_change_ticket_info_list>
</module>
</result>
</alitrip_btrip_supplychain_flight_detail_search_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|