【商旅】查询审批单
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenIsvSearchRq | 必须 | 请求对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResult | result | 出参对象 |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripCorpopApplyGetRequest req = new AlitripBtripCorpopApplyGetRequest(); AlitripBtripCorpopApplyGetRequest.OpenIsvSearchRq obj1 = new AlitripBtripCorpopApplyGetRequest.OpenIsvSearchRq(); obj1.setApplyId(123L); obj1.setApplyShowId( "201710111505000464651" ); obj1.setCorpId( "corpId1" ); obj1.setThirdpartApplyId( "abcdef" ); obj1.setVersion(2L); obj1.setType(2L); req.setRq(obj1); AlitripBtripCorpopApplyGetResponse 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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | < alitrip_btrip_corpop_apply_get_response > < result > < module > < apply_show_id >201710111505000464651</ apply_show_id > < approver_list > < open_approver_info > < note >同意</ note > < operate_time >2017-05-01 00:00:00</ operate_time > < order >1</ order > < status >1</ status > < status_desc >同意</ status_desc > < user_id >user1</ user_id > < user_name >张三</ user_name > </ open_approver_info > </ approver_list > < corp_id >corp1</ corp_id > < corp_name >阿里巴巴</ corp_name > < depart_id >dept1</ depart_id > < depart_name >淘宝</ depart_name > < gmt_create >2017-05-01 00:00:00</ gmt_create > < gmt_modified >2017-05-01 00:00:00</ gmt_modified > < id >12345</ id > < itinerary_list > < open_itinerary_info > < arr_city >北京</ arr_city > < arr_city_code >330100</ arr_city_code > < arr_date >2017-05-01 00:00:00</ arr_date > < cost_center_name >阿里巴巴</ cost_center_name > < dep_city >杭州</ dep_city > < dep_city_code >330100</ dep_city_code > < dep_date >2017-05-01 00:00:00</ dep_date > < invoice_name >阿里巴巴</ invoice_name > < itinerary_id >abcdefg</ itinerary_id > < project_code >xm1</ project_code > < project_title >项目1</ project_title > < traffic_type >0</ traffic_type > < trip_way >1</ trip_way > </ open_itinerary_info > </ itinerary_list > < status >1</ status > < status_desc >同意</ status_desc > < thirdpart_business_id >123</ thirdpart_business_id > < thirdpart_id >abc</ thirdpart_id > < traveler_list > < open_user_info > < user_id >user1</ user_id > < user_name >张三</ user_name > < flight_cabins >Y</ flight_cabins > < economy_discount >1</ economy_discount > < business_discount >1</ business_discount > < first_discount >1</ first_discount > < train_seats >1</ train_seats > < hotel_citys > < hotel_city_fee > < city_code >330100</ city_code > < city_name >北京</ city_name > < fee >10000</ fee > </ hotel_city_fee > </ hotel_citys > < reserve_type >1</ reserve_type > < international_flight_cabins >Y</ international_flight_cabins > < premium_economy_discount >1</ premium_economy_discount > </ open_user_info > </ traveler_list > < trip_cause >北京出差</ trip_cause > < trip_day >1</ trip_day > < trip_title >北京出差</ trip_title > < user_id >user1</ user_id > < user_name >张三</ user_name > < type >2</ type > < union_no >abc131</ union_no > < external_traveler_list > < open_user_info > < flight_cabins >Y</ flight_cabins > < economy_discount >1</ economy_discount > < business_discount >1</ business_discount > < first_discount >1</ first_discount > < train_seats >1</ train_seats > < hotel_citys > < hotel_city_fee > < city_code >330100</ city_code > < city_name >北京</ city_name > < fee >10000</ fee > </ hotel_city_fee > </ hotel_citys > < reserve_type >1</ reserve_type > < user_name >张三</ user_name > < international_flight_cabins >Y</ international_flight_cabins > < premium_economy_discount >1</ premium_economy_discount > </ open_user_info > </ external_traveler_list > < hotel_budget >100000</ hotel_budget > < flight_budget >100000</ flight_budget > < train_budget >100000</ train_budget > < vehicle_budget >100000</ vehicle_budget > < budget >100000</ budget > < budget_merge >1</ budget_merge > < limit_traveler >0</ limit_traveler > < together_book_rule >1</ together_book_rule > < hotel_share > < type >1</ type > < param >70</ param > </ hotel_share > < itinerary_set_list > < open_itinerary_info > < itinerary_id >abcdefg</ itinerary_id > < traffic_type >0</ traffic_type > < city_set >北京,上海</ city_set > < city_code_set >330100,110100</ city_code_set > < dep_date >2017-05-01 00:00:00</ dep_date > < arr_date >2017-05-01 00:00:00</ arr_date > < cost_center_name >成本中心名称</ cost_center_name > < invoice_name >发票抬头</ invoice_name > < project_code >项目编号</ project_code > < project_title >项目名称</ project_title > </ open_itinerary_info > </ itinerary_set_list > < itinerary_rule >0</ itinerary_rule > </ module > < result_code >0</ result_code > < result_msg >成功</ result_msg > < success >true</ success > </ result > </ alitrip_btrip_corpop_apply_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|---|---|
404 | 没有找到对应的审批单 | 排查一下查询入参是否正确 |