查询用户列表
-
url
https://www.cloudroom.com/CLOUDROOM-SERVER/v2/user/list?current={current}&size={size}
-
请求方式
GET
-
请求参数
参数名 必填 类型 描述 current 否 Integer 当前页码(默认为1,小于1使用默认值,超出最大页码数返回空) size 否 Integer 每页数量(默认为20,最大值为100,超出范围使用默认值) -
请求参数示例
https://www.cloudroom.com/CLOUDROOM-SERVER/v2/user/list?current=1&size=20
-
返回参数
参数名 类型 描述 total Integer 总数 records Object[] 用户列表 remaining Integer 是否还有未拉取的数据(0:否;1:是) -
用户列表详情
参数名 类型 描述 userId Long 用户Id name String 姓名/昵称 mobile String 手机号 departmentId Integer 部门Id roleType Integer 角色 email String 邮箱 userType Integer 0: 用户;1: 终端; 2: sip; 3: h323 sipInfo String sip用户信息(是sip用户时,才有值) h323Info String h323用户信息(是h323用户时,才有值) -
返回参数示例
{ "total":1, "records":[ { "userId":1000000000, "name":"test", "mobile":"008613726000001", "departmentId":1, "roleType":1, "email":"test@cloudroom.com", "userType":0, "sipInfo":null, "h323Info":null } ], "remaining":0 }