文档
测试

随堂测记录详情

POST
http://192.168.2.107:8765/api/question/v2/homework/record/detail

接口描述

当老师发起随堂测,学生收到recordId推送,应立即请求该接口;老师每隔5s请求该接口,以刷新界面,直到结束为止。

请求头

参数名
类型
描述
必填
authorization
必填

请求参数

参数名
类型
描述
必填
recordId
int
随堂测记录id
必填

响应参数

参数名
类型
描述
必填
code
int
必填
msg
可选
data
object
随堂测记录详细信息
必填
classesName
array
班级名称数组
必填
totalStudent
int
参与学生总数
必填
submittedStudents
int
作答学生数
必填
questions
array
试题列表
必填
id
int
随堂测试题id
必填
questionId
int
原试题id
必填
type
int
题型
必填
typeDesc
string
题型,展示用
必填
level
int
难度等级
必填
title
string
题目,注意富文本
必填
teaching
string
解析
必填
answer
string
参考答案
必填
accuracy
double
随堂测试题正确率
必填
answerCount
object
作答分布统计
必填
answer
string
作答内容,由选项id构成,如8888,7777,8888,需要转成ABC
必填
num
int
作答人数
必填
wrongRatio
double
随堂测试题错误率
必填
questionOptions
array
试题选项
可选
id
int
选项id
必填
title
string
选项内容
必填
isTrue
int
是否正确选项
必填
sort
int
排序
必填
studentAnswer
string
学生作答内容,学生身份才会返回
可选
isRight
int
此题作答是否正确,1-正确;0-错误。学生身份才会返回
必填
createAt
string
发布时间
必填
status
int
发布状态,0-进行中、1-已结束
必填