接口说明
面向政企版租户开放用户策略关联用户状态列表查询 限流:根据租户实现用户级别的限流,限制为100次每秒
URL
POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/userPolicy/getUserDetailByPolicyId
请求参数
Body
|
参数名称
|
类型
|
必填
|
描述
|
|
reqDto
|
PolicyBindUserOApiReqDtos
|
是
|
查询用户策略关联用户状态列表请求入参 |
|
currentPage
|
integer(int32)
|
否
|
当前页 |
|
pageSize
|
integer(int32)
|
否
|
分页大小 |
|
policyId
|
string
|
是
|
用户策略主键id |
请求示例
POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/userPolicy/getUserDetailByPolicyId
{
"currentPage":1,
"pageSize":10,
"policyId":"1904471024025063425"
}
返回参数
返回码:200
OK
|
参数名称
|
类型
|
描述
|
|
body
|
CcempUserRespDto
|
请求成功时返回的数据 |
|
records
|
<CcempUserInfo> array
|
用户列表 |
|
activationType
|
string
|
用户类型 0 管理员激活, 1 用户激活 |
|
associationState
|
integer(int32)
|
用户关联状态, 0: 未关联, 1:和当前用户策略关联, 2:和其他用户策略关联 |
|
authorizationState
|
string
|
用户授权状态 0 未授权, 1 已授权 |
|
bindCount
|
integer(int32)
|
已分配电脑数量 |
|
description
|
string
|
备注 |
|
id
|
string
|
用户id |
|
mail
|
string
|
邮箱 |
|
mobile
|
string
|
手机号 |
|
mopUserName
|
string
|
所属租户名称 |
|
orgName
|
string
|
所属组织名称(所属最小组织) |
|
status
|
string
|
用户状态 0 已激活, 1 未激活 |
|
userName
|
string
|
登录账号 |
|
total
|
integer(int32)
|
总用户数 |
|
errorCode
|
string
|
统一错误码 |
|
errorMessage
|
string
|
错误码提示信息 |
|
requestId
|
string
|
每个请求的序列号 |
|
state
|
enum(OK,ERROR,EXCEPTION,FORBIDDEN,REMAINING,TIMEOUT)
|
返回状态码;返回正常:OK,返回错误:ERROR,返回异常:EXCEPTION,需要告警实现的:ALARM,禁止访问:FORBIDDEN |
返回示例
返回码:200
OK
{
"state":"OK",
"body":{
"records":[
{
"id":"1924425021530116097",
"userName":"mct500.cheng",
"status":"0",
"description":null,
"activationType":"0",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":"csy_csb_saas_wusai_ext_02",
"associationState":2
},
{
"id":"1919954655423418369",
"userName":"username4999.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954655234674690",
"userName":"username4998.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954655196925954",
"userName":"username4997.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954655159177217",
"userName":"username4996.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954655117234178",
"userName":"username4995.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954655075291137",
"userName":"username4994.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954655033348097",
"userName":"username4993.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954654991405058",
"userName":"username4992.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
},
{
"id":"1919954654873964545",
"userName":"username4991.1U7wtLJSwwDN.cheng",
"status":"0",
"description":null,
"activationType":"7",
"authorizationState":"0",
"mobile":null,
"mail":null,
"bindCount":0,
"mopUserName":"csy_csb_saas_wusai_ext_02",
"orgName":null,
"associationState":0
}
],
"total":60
},
"errorCode":"200",
"errorMessage":"",
"requestId":"c5ec28c8d78f4179"
}