查询子账号列表
描述
查询子账号列表
请求参数
| 参数名 | 参数类型 | 是否必填 | 参数说明 |
|---|---|---|---|
| Action | String | 是 | 操作方法:ListIamUsers,此参数为公共参数,不必放body里面 |
| PageNo | Integer | 是 | 分页页数,最小值为1 |
| PageSize | Integer | 是 | 分页数量,最大值为100 |
| UserName | String | 否 | 用户名 |
返回参数
| 名称 | 类型 | 说明 |
|---|---|---|
| Page | Page | 由Page组成的数组格式,返回分页信息 |
| List | List | 由List组成的数组格式,返回云手机列表信息 |
Page
分页信息的数据类型
| 名称 | 类型 | 说明 |
|---|---|---|
| PageSize | Integer | 页面总数 |
| CurrentPageNo | Integer | 当前分页数 |
| TotalPage | Integer | 总页数 |
| TotalCount | Integer | 总数 |
List
| 名称 | 类型 | 说明 |
|---|---|---|
| UserId | Integer | 用户id |
| UserName | String | 用户名 |
| DisplayName | String | 姓名 |
| CountryCode | String | 区号 |
| MobilePhone | String | 手机号码,带区号 |
| CloudPhoneGroupCount | Integer | 授权的云手机分组数量 |
| CloudPhoneCount | String | 授权的云手机分组下的手机数量 |
| Groups | Integer | 子用户加入的分组数量 |
| Comments | String | 备注 |
| ConsoleLogin | String | 是否开启控制台登录:Open,Closed,默认开启 |
| String | 邮箱 | |
| CreateDate | Long | 创建时间 |
| UpdateDate | Long | 更新时间 |
请求示例
post https://api.chinac.com/v2/?Action=ListIamUsers
{
"PageNo":1,
"PageSize": 10,
"UserName": "xxxxxx"
}
返回示例
{
"code": 10000,
"message": "",
"data": {
"Page": {
"PageSize": 10,
"CurrentPageNo": 1,
"TotalPage": 1,
"TotalCount": 3
},
"List": [{
"UserId": 1000,
"UserName": "test",
"DisplayName": "test",
"CountryCode": "86",
"MobilePhone": "+8615000000000",
"CloudPhoneCount": 1,
"CloudPhoneGroupCount": 1,
"Groups": 1,
"Comments": "test",
"ConsoleLogin": "Open",
"Email": "test@test.com",
"CreateDate": 1587467268000,
"UpdateDate": 1587467305000
}]
}
}