商旅用车交易流水接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenApiZzdSearchRq | 可选 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResultSupport | result | 出参 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripOpenSupplychainVehicleTradeRequest req = new AlitripBtripOpenSupplychainVehicleTradeRequest(); AlitripBtripOpenSupplychainVehicleTradeRequest.OpenApiZzdSearchRq obj1 = new AlitripBtripOpenSupplychainVehicleTradeRequest.OpenApiZzdSearchRq(); obj1.setThirdpartCorpId( "asdf" ); obj1.setOrderId(12345L); obj1.setEndDate( "2021-04-01 00:00:00" ); obj1.setPageSize(100L); obj1.setUserId( "fghj" ); obj1.setApplyId(12345L); obj1.setPage(1L); obj1.setTradeId( "sdfghjkl" ); obj1.setStartDate( "2021-04-01 00:00:00" ); req.setRq(obj1); AlitripBtripOpenSupplychainVehicleTradeResponse 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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | < alitrip_btrip_open_supplychain_vehicle_trade_response > < result > < success >true</ success > < trade_list > < open_api_zzd_vehicle_order_rs > < trade_id >asdfg</ trade_id > < trade_type >1</ trade_type > < trade_action >1</ trade_action > < order_id >1234</ order_id > < corp_id >asdfg</ corp_id > < thirdpart_corp_id >sadffg</ thirdpart_corp_id > < user_id >fghjk</ user_id > < user_nick >测试用户</ user_nick > < depart_name >测试部门</ depart_name > < apply_id >12345</ apply_id > < third_part_apply_id >dfghjk</ third_part_apply_id > < apply_title >审批单名称</ apply_title > < status >1</ status > < user_confirm >1</ user_confirm > < user_confirm_reason >不认可</ user_confirm_reason > < cancel_reason >取消理由</ cancel_reason > < gmt_create >2021-04-01 00:00:00</ gmt_create > < gmt_modified >2021-04-01 00:00:00</ gmt_modified > < pay_type >0</ pay_type > < settle_type >1</ settle_type > < order_type >TRAVEL</ order_type > < amount >10000</ amount > < corp_amount >10000</ corp_amount > < personal_amount >10000</ personal_amount > < refund_fee >100</ refund_fee > < service_fee >100</ service_fee > < currency >CNY</ currency > < settlement_batch_no >yyyy-MM-dd HH:mm:ss</ settlement_batch_no > < invoice_id >1234</ invoice_id > < invoice_title >发票抬头</ invoice_title > < cost_center_list > < cost_center_do > < cost_center_id >1234</ cost_center_id > < cost_center_title >测试成本</ cost_center_title > < cost_center_number >sdfghj</ cost_center_number > < third_cost_center_id >sdfghjk</ third_cost_center_id > </ cost_center_do > </ cost_center_list > < client_info_dos > < client_info_do > < user_id >asdf</ user_id > < user_name >测试用户</ user_name > </ client_info_do > </ client_info_dos > < project_code >dfghj</ project_code > < project_title >测试项目</ project_title > < thirdpart_itinerary_id >asdfg</ thirdpart_itinerary_id > < itinerary_no >xcvbn</ itinerary_no > < cancel_time >2021-05-06 17:00:30</ cancel_time > < pay_time >2021-05-06 17:00:30</ pay_time > < is_special >true</ is_special > < special_types >特殊订单类型</ special_types > < car_info_do_list > < car_info_do > < from_addr >阿里巴巴西溪园区(南2门)</ from_addr > < to_addr >阿里巴巴西溪园区(南2门)</ to_addr > < from_city_name >杭州</ from_city_name > < to_city_name >杭州</ to_city_name > < real_from_addr >阿里巴巴西溪园区</ real_from_addr > < real_to_addr >阿里巴巴西溪园区</ real_to_addr > < real_from_city_name >杭州</ real_from_city_name > < real_to_city_name >杭州</ real_to_city_name > < provider >2</ provider > < provider_name >滴滴出行</ provider_name > < memo >加班</ memo > < car_level >KC</ car_level > < car_info >白色本田</ car_info > < publish_time >2021-05-06 17:00:30</ publish_time > < taken_time >2021-05-06 17:00:30</ taken_time > < driver_confirm_time >2021-05-06 17:00:30</ driver_confirm_time > < travel_distance >17.40</ travel_distance > </ car_info_do > </ car_info_do_list > </ open_api_zzd_vehicle_order_rs > </ trade_list > </ result > </ alitrip_btrip_open_supplychain_vehicle_trade_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 > |
错误码 | 错误描述 | 解决方案 |
---|