根据员工工号和角色list查询应用列表的信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| emp_id | String | 必须 | 00001 | 工号 | |
| ext_rolenamelist | String | 必须 | owners,pe | 应用角色列表,取值owner,appops,devTL,appIntgLd,pe,dba,sec,codeReviewer,testTL,testAuto,configAdmin | |
| bu_id | String | 可选 | 12 | 对应的是应用产品线的一级bu列表中的bu id | |
| page | Number | 可选 | 1 |
|
分页参数,表示第几页 |
| pagesize | Number | 可选 | 50 |
|
分页参数,每页最大100 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| object | AppList [] | 应用列表 | |
|
|||
| successful | Boolean | true | 是否成功 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAoneAppcenterApplicationGetappsbyempidandrolelistRequest req = new AlibabaAoneAppcenterApplicationGetappsbyempidandrolelistRequest();
req.setEmpId("00001");
req.setExtRolenamelist("owners,pe");
req.setBuId("12");
req.setPage(1L);
req.setPagesize(50L);
AlibabaAoneAppcenterApplicationGetappsbyempidandrolelistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_aone_appcenter_application_getappsbyempidandrolelist_response>
<object>
<app_list>
<owner>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</owner>
<product_id>21431</product_id>
<level>GRADE2</level>
<description>试用函数功能</description>
<gmt_create>1663642367000</gmt_create>
<appops>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</appops>
<pe>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</pe>
<app_type>functionApp</app_type>
<name>fn-shundaotest</name>
<id>210711</id>
<oncall>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</oncall>
<dev_t_l>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</dev_t_l>
<test_t_l>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</test_t_l>
<status>ONLINE</status>
<app_intg_ld>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</app_intg_ld>
<dba>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</dba>
<sec>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</sec>
<code_reviewer>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</code_reviewer>
<test_auto>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</test_auto>
<config_admin>
<user_list>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</user_list>
</config_admin>
<sec_tester>
<json_user>
<buc_id>14764</buc_id>
<emp_id>46068</emp_id>
<first_name>舜刀</first_name>
<email_addr>shundao.jht@alibaba-inc.com</email_addr>
<user_name>shundao.jht</user_name>
<email_prefix>shundao.jht</email_prefix>
</json_user>
</sec_tester>
</app_list>
</object>
<successful>true</successful>
</alibaba_aone_appcenter_application_getappsbyempidandrolelist_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|