获取房间签到信息(大班课)

Example

POST getRoomSigninRecord

https://global.talk-cloud.net/WebAPI/getRoomSigninRecord

参数

参数名 是否必填 类型 说明
key String 企业Key
serial String 房间编号:选填(该字段和thirdroomid必须至少填写一个)
thirdroomid String 用户自定义房间号:选填(该字段和serial必须至少填写一个)如果用户创建房间时自定义了房间号,可使用此字段
参数名 类型 说明
result Int 错误码0成功,非0为具体错误码
data array 返回数据
 teacherSignCount Int 老师发起签到总次数
 studentSignCount Int 学生签到总次数
 singleStudentSignCount array 单个学生签到次数
  userId string 学生userId
  userName string 学生userName
  count Int 当前学生签到总次数
 teacherSignList array 发起签到以及签到信息
  signinId string 签到ID
  prompt string 签到名称
  userId string 老师userId
  userName string 老师userName
  createTime Int 发起签到时间(时间戳)
  studentSignCount Int 当前签到事件下学生签到总次数
  studentSignList array 当前签到事件下学生签到信息
   userId string 学生userId
   userName string 学生userName
   createTime Int 签到时间(时间戳)

返回示例

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
    "result": 0,
    "data": {
        "teacherSignCount": 6,
        "studentSignCount": 8,
        "singleStudentSignCount": [
            {
                "userId": "1bd748eb-38a0-3745-2bb9-564101782719",
                "userName": "学生01",
                "count": 3
            }
        ],
        "teacherSignList": [
            {
                "signinId": 100796,
                "prompt": "测试签到002",
                "userId": "08cdbb94-d6cd-4bff-4021-7b58c71383f3",
                "userName": "老师02",
                "createTime": 1626361742,
                "studentSignCount": 2,
                "studentSignList": [
                    {
                        "userId": "daa1d688-91dc-d7a5-c2cd-70c32d08df69",
                        "userName": "学生03",
                        "createTime": 1626361744
                    }
                ]
            }
        ]
    }
}

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号