根据用户id列表、批量获取用户所属公司列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | WorkBenchContext | 可选 | WorkBenchContext | ||
|
|||||
param1 | String [] | 必须 | 111143930 |
|
accountIds |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CollectionResult | {} | 响应结果 |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCampusCoreCompanyGetcombyaccidsRequest req = new AlibabaCampusCoreCompanyGetcombyaccidsRequest(); AlibabaCampusCoreCompanyGetcombyaccidsRequest.WorkBenchContext obj1 = new AlibabaCampusCoreCompanyGetcombyaccidsRequest.WorkBenchContext(); obj1.setCampusId(1L); req.setParam0(obj1); req.setParam1( "111143930" ); AlibabaCampusCoreCompanyGetcombyaccidsResponse rsp = client.execute(req); 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 | < alibaba_campus_core_company_getcombyaccids_response > < result > < contents > &l t ;t> < companys > < company_dto > < company_code >3</ company_code > < count >21</ count > < corp_id ></ corp_id > < is_wuye >false</ is_wuye > < hr_sign_company_id >1</ hr_sign_company_id > < campus_name >asd</ campus_name > < campus_id >1</ campus_id > < mobile >123432111</ mobile > < status >1,2</ status > < is_default >false</ is_default > < short_name >q</ short_name > < name >qwe</ name > < company_id >1</ company_id > < id >1</ id > </ company_dto > </ companys > < account_id >1</ account_id > &l t ;/t> </ contents > < request_id >1</ request_id > < total_count >123</ total_count > < error_code >200</ error_code > < error_msg >OK</ error_msg > < success >false</ success > < error_ext_info >{"errormsg":"ok"}</ error_ext_info > < error_level >1</ error_level > </ result > </ alibaba_campus_core_company_getcombyaccids_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 > |
错误码 | 错误描述 | 解决方案 |
---|