请登录后查看
SearchCorpAdmins
分页查询企业管理员
通过该接口分页查询企业管理员。
名称 | 类型 | IN | 必选 | 描述 |
---|---|---|---|---|
Accept-Language | string | header | 否 | 语言参数,默认为中文zh-CN,英文为en-US。 |
X-Request-Id | string | header | 否 | 请求requestId,用来标识一路请求,用于问题跟踪定位,建议使用UUID,若不携带,则后台自动生成。 |
X-Access-Token | string | header | 是 | Access Token。通过 执行App ID鉴权接口返回的accessToken。 |
searchKey | string | query | 否 | 搜索条件,支持名称、手机、邮箱、帐号、第三方帐号模糊搜索。 |
limit | integer | query | 否 | 查询数量。 默认值:10。 |
offset | integer | query | 否 | 查询偏移量,若超过最大数量,则返回最后一页。 |
操作成功。
名称 | 类型 | 描述 |
---|---|---|
offset | integer | 页面起始页,从0开始。 |
limit | integer | 每页显示的条目数量。 默认值:10。 |
count | integer | 总数量。 |
data | Array of QueryCorpAdminResultDTO objects | 查询企业管理员返回的结果。 |
名称 | 类型 | 描述 |
---|---|---|
id | string | 用户UUID。 |
account | string | 用户帐号(华为云会议帐号)。 |
name | string | 用户名称。 |
adminType | integer | 管理员类型。
|
email | string | 邮箱地址。 |
phone | string | 手机号。 |
country | string | 手机号所属的国家 。 |
dept | DeptBasicDTO object | 部门基本信息。 |
名称 | 类型 | 描述 |
---|---|---|
deptCode | string | 部门编码。 |
corpId | string | 企业id。 |
deptName | string | 部门名称。 |
deptNamePath | string | 部门名称路径。 |
parentDeptCode | string | 父部门编码。 |
参数异常。
名称 | 类型 | 描述 |
---|---|---|
error_code | string | 错误码。 |
error_msg | string | 错误描述。 |
request_id | string | 请求唯一标识。 |
权限受限。
名称 | 类型 | 描述 |
---|---|---|
error_code | string | 错误码。 |
error_msg | string | 错误描述。 |
request_id | string | 请求唯一标识。 |
"GET https://{endpoint}/v1/usg/dcs/corp/admin?offset=0&limit=10&searchKey=pZKK1eI4I1JXXeYMaENF7swEGJSUfADY"
操作成功。
{
"offset": 0,
"limit": 10,
"count": 2,
"data": [
{
"id": "3276627b02c044aea9ed9955655fa3a6",
"account": "p-53df7b9046ae410fa75f82e08bfd9181",
"name": "pZKK1eI4I1JXXeYMaENF7swEGJSUfADY",
"adminType": 1,
"email": "email@huawei.com",
"phone": "+86123456789",
"country": "chinaPR",
"dept": {
"deptCode": "1",
"corpId": "8374",
"deptName": "8eb1c2acd96346938a6b6d10e7d29e06",
"deptNamePath": "8eb1c2acd96346938a6b6d10e7d29e06",
"parentDeptCode": null
}
},
{
"id": "e1e50f4194f44cc985f143c9f48769cf",
"account": "df6b0ef1a53344f4afaeed86b800bfad",
"name": "pZKK1eI4I1JXXeYMaENF7swEGJSUfADY",
"adminType": 1,
"email": "email@huawei.com",
"phone": "+86123456789",
"country": "chinaPR",
"dept": {
"deptCode": "1",
"corpId": "8374",
"deptName": "8eb1c2acd96346938a6b6d10e7d29e06",
"deptNamePath": "8eb1c2acd96346938a6b6d10e7d29e06",
"parentDeptCode": null
}
}
]
}
参数异常。
{
"request_id": "208b6e4c92074487bc43292f8554561e",
"error_code": "USG.000000003",
"error_msg": "请检查参数是否合法"
}
权限受限。
{
"request_id": "208b6e4c92074487bc43292f8554561e",
"error_code": "USG.000000004",
"error_msg": "Illegal request"
}