获取房间当前在线用户信息
Example
POST getonlineuser
https://global.talk-cloud.net/WebAPI
/getonlineuser
参数
参数名 | 参数说明 | 类型 | 长度 | 缺省值 | 备注 |
---|---|---|---|---|---|
key | 企业ID | String | 16 | 必填(预设:5NIWjlgmvqwbt494) | |
serial | 房间编号 | Int | 11 | 选填(该字段和thirdroomid必须至少填写一个)传值方式备注:1、serial 和 thirdroomid 组合查询2、serial 和 thirdroomid 单独传值3、serial 和 thirdroomid 不能同时为空 | |
thirdroomid | 用户自定义房间号 | String | 32 | 选填(该字段和serial必须至少填写一个)如果用户创建房间时自定义了房间号,可使用此字段传值方式备注:1、serial 和 thirdroomid 组合查询2、serial 和 thirdroomid 单独传值3、serial 和 thirdroomid 不能同时为空 |
参数名 | 类型 | 说明 |
---|---|---|
参数名称 | 类型 | 描述 |
result | Int | code码.可根据result是否是0来判断是否成功 0:表示成功 -1表示失败 若调用失败,会返回错误码,具体看公共错误码信息。 |
buddyid | String | id |
serial | String | 房间号 |
username | String | 用户名 |
userrole | String | 课堂中的角色 0:主讲 1:助教 2: 学员 3:直播用户 4: 巡检员 |
logIntime | String | 登录时间 10位时间戳 |
isrobot | String | 是否是机器人 0否1机器人 |
返回示例
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|