如何获取子账号列表
请求 URI
- /account/account_info_list。
参数列表
无
响应数据
- {
- "code":200,
- "data":[
- {
- "authorization":{
- "adminUserId":"xxxxxx@aliyun.com",
- "createTime":1465818499570,
- "updateTime":1466407907091,
- "resGroupId":"0",
- "userId":"xxx@aliyun-inner.com"
- },
- "resGroupList":[
- {
- "adminUserId":"xxxxxx@aliyun.com",
- "createTime":0,
- "regionId":"cn-beijing",
- "name":"xxx",
- "description":"文档",
- "updateTime":0,
- "id":226
- }
- ],
- "withPermission":false,
- "appMapList":[],
- "roleList":[
- {
- "role":{
- "adminUserId":"xxxxxx@aliyun.com",
- "default":true,
- "createTime":1426650251593,
- "name":"所有权限",
- "updateTime":1426650251593,
- "id":30
- },
- "actionList":[
- {
- "appIdUnrelated":true,
- "code":1,
- "groupId":15,
- "name":"查看概览",
- "desc":"查看概览"
- }
- ]
- }
- ],
- "account":{
- "createTime":1446187796545,
- "kp":"1172745866080237",
- "name":"edas_common_test",
- "tel":"150xxxxxxxx",
- "updateTime":1458364267327,
- "userId":"xxxxxx@aliyun.com",
- "email":"xxxx@aliyun.com"
- }
- }
- ]
- }
示例
- Map<String,String> params = new HashMap<String,String>();
- params.put("TargetUserIds", "xxxxxxx@alibaba-inc.com");
- String resp = edasApiClient.callApi(EdasApiAction.Account.account_info_list.path(), params);
- System.out.println(resp);
收起
猫饭先生
2017-10-26 11:11:02
1341
0
0
条回答
写回答
取消
提交回答