【商旅】用车订单搜索
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenApiSearchRq | 必须 | 出参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResult | result | 出参 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripSupplychainVehicleSearchRequest req = new AlitripBtripSupplychainVehicleSearchRequest(); AlitripBtripSupplychainVehicleSearchRequest.OpenApiSearchRq obj1 = new AlitripBtripSupplychainVehicleSearchRequest.OpenApiSearchRq(); obj1.setAllApply(true); obj1.setApplyId(12345L); obj1.setCorpId("corp1"); obj1.setDepartId("dept1"); obj1.setEndTime(StringUtils.parseDateTime("2017-05-01 00:00:00")); obj1.setPage(1L); obj1.setPageSize(10L); obj1.setStartTime(StringUtils.parseDateTime("2017-05-01 00:00:00")); obj1.setThirdpartApplyId("123"); obj1.setUpdateEndTime(StringUtils.parseDateTime("2017-05-01 00:00:00")); obj1.setUpdateStartTime(StringUtils.parseDateTime("2017-05-01 00:00:00")); obj1.setUserId("user1"); obj1.setVersion(2L); req.setRq(obj1); AlitripBtripSupplychainVehicleSearchResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_btrip_supplychain_vehicle_search_response> <result> <module_list> <open_api_vehicle_order_rs> <id>12345</id> <gmt_create>2017-05-01 00:00:00</gmt_create> <gmt_modified>2017-05-01 00:00:00</gmt_modified> <passenger_name>李四</passenger_name> <corp_id>corp1</corp_id> <corp_name>阿里巴巴</corp_name> <user_name>张三</user_name> <user_id>user1</user_id> <dept_id>dept1</dept_id> <dept_name>淘宝</dept_name> <apply_id>123</apply_id> <apply_show_id>201802031353000525653</apply_show_id> <real_from_address>高新文教区东部软件园创新大厦(马塍路)</real_from_address> <real_to_address>联创街</real_to_address> <real_from_city_name>杭州</real_from_city_name> <real_to_city_name>杭州</real_to_city_name> <from_address>阿里巴巴西溪园区</from_address> <to_address>乐佳国际</to_address> <from_city_name>杭州</from_city_name> <to_city_name>杭州</to_city_name> <memo>加班</memo> <order_status>2</order_status> <car_level>3</car_level> <car_info>白色本田</car_info> <estimate_price>100.0</estimate_price> <publish_time>2017-05-01 00:00:00</publish_time> <taken_time>2017-05-01 00:00:00</taken_time> <driver_confirm_time>2017-05-01 00:00:00</driver_confirm_time> <cancel_time>2017-05-01 00:00:00</cancel_time> <pay_time>2017-05-01 00:00:00</pay_time> <travel_distance>1.2</travel_distance> <service_type>1</service_type> <business_category>TRAVEL</business_category> <cost_center_id>12345</cost_center_id> <cost_center_number>abcde</cost_center_number> <invoice_id>12345</invoice_id> <invoice_title>阿里巴巴</invoice_title> <project_code>abcef</project_code> <project_title>北京项目</project_title> <price_info_list> <open_price_info> <price>100.0</price> <type>1</type> <category>用车支付</category> <pay_type>1</pay_type> <gmt_create>2017-05-01 00:00:00</gmt_create> <passenger_name>张三,李四</passenger_name> <trade_id>8908076767</trade_id> <category_type>1</category_type> <category_code>1</category_code> <person_price>100.0</person_price> </open_price_info> </price_info_list> <thirdpart_itinerary_id>abcdefg</thirdpart_itinerary_id> <user_affiliate_list> <open_user_affiliate_do> <user_id>123</user_id> <user_name>张三</user_name> </open_user_affiliate_do> </user_affiliate_list> <user_confirm>1</user_confirm> <provider>2</provider> <thirdpart_apply_id>123</thirdpart_apply_id> <btrip_title>出差</btrip_title> <cost_center_name>测试成本中心</cost_center_name> <is_special>true</is_special> <special_types> <string>v_sp_t_1</string> </special_types> <project_id>1</project_id> </open_api_vehicle_order_rs> </module_list> <result_code>0</result_code> <result_msg>成功</result_msg> <is_success>true</is_success> <page_info> <page>1</page> <page_size>10</page_size> <total_number>100</total_number> </page_info> </result> </alitrip_btrip_supplychain_vehicle_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>
错误码 | 错误描述 | 解决方案 |
---|