获取企业角色列表,智造相关角色列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
app_user_id | String | 必须 | 12345 | 第三方用户唯一id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | result | |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaDecorationCscEnterpriseRolesRequest req = new AlibabaDecorationCscEnterpriseRolesRequest(); req.setAppUserId( "12345" ); AlibabaDecorationCscEnterpriseRolesResponse 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 | < alibaba_decoration_csc_enterprise_roles_response > < result > < message_info >程序发生异常</ message_info > < message_code >100399999</ message_code > < data > < official_roles > < ea_role_d_t_o > < role_id >角色id</ role_id > < role_name >角色名称</ role_name > < role_code >角色编码</ role_code > < type >角色类型,官方角色-OFFICIAL,自定义角色-CUSTOM</ type > </ ea_role_d_t_o > </ official_roles > < custom_roles > < ea_role_d_t_o > < role_id >角色id</ role_id > < role_name >角色名称</ role_name > < role_code >角色编码</ role_code > < type >角色类型,官方角色-OFFICIAL,自定义角色-CUSTOM</ type > </ ea_role_d_t_o > </ custom_roles > </ data > < message_flag >true</ message_flag > </ result > </ alibaba_decoration_csc_enterprise_roles_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 > |
错误码 | 错误描述 | 解决方案 |
---|