根据一批账号ID查询账号列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
list_account_ids | ListAccountsByAccountIdsRequest | 可选 | 请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ListAccountsByAccountIdsResult | test | 出参 |
|
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaMoziBucAccountListAccountidsRequest req = new AlibabaMoziBucAccountListAccountidsRequest(); AlibabaMoziBucAccountListAccountidsRequest.ListAccountsByAccountIdsRequest obj1 = new AlibabaMoziBucAccountListAccountidsRequest.ListAccountsByAccountIdsRequest(); obj1.setTenantId(1L); obj1.setAccountIds( new Long[] { 123 , 456 }; ); obj1.setAvailable( "T" ); obj1.setRequestMetaData( "test" ); req.setListAccountIds(obj1); AlibabaMoziBucAccountListAccountidsResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 | < alibaba_mozi_buc_account_list_accountids_response > < result > < data >accountMap</ data > < success >true</ success > < request_id >1224</ request_id > < response_message >OK</ response_message > < response_meta_data >test</ response_meta_data > < response_code >0</ response_code > </ result > </ alibaba_mozi_buc_account_list_accountids_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 > |
错误码 | 错误描述 | 解决方案 |
---|