智能评测小程序0420.md
1.55 KB
智能评测小程序接口文档
1. 查询学生是否在后台有填报记录
- URL: {{localhost}}/boxfish-wudaokou-recommend/exam/level/confirm?studentId=100000007715
- Method: GET
- RequestParams:
参数 | 类型 | 说明 |
---|---|---|
studentId | Integer | 学生ID |
- ResponseBody:
{
"evaluationStatus": "NO_EVALUATION",
"examLevel": "LEVEL_3",
"examGrade": "三年级",
"name": "user1810111013390rAJzyhV",
"avatars": "https://avatars.boxfish.cn/user/100000007715/figure/1556087186.jpg"
}
"evaluationStatus"的几种枚举值:
NO_EVALUATION_LEVEL, // 没有评测年级
NO_EVALUATION, // 没有完成评测
EVALUATION_FINISHED; // 评测完成
2. 获取学生评测试题内容
- URL: {{localhost}}/boxfish-wudaokou-recommend/exam/text/getExamText?studentId=100000006030&examLevel=LEVEL_3
- Method: GET
- RequestParams:
参数 | 类型 | 说明 |
---|---|---|
studentId | Integer | 学生ID |
examLevel | String | 评测等级 |
- ResponseBody:
2. 保存学生评测结果
- URL: {{localhost}}/boxfish-wudaokou-recommend/exam/result/saveExamResult
- Method: POST
- RequestBody:
{
"studentId": 100000006030,
"assessmentId": "ORAL_TEST_LEVEL_3",
"resultList": [
{
"questionId": "LEVEL_3_WORD_1",
"answer": "return"
},
{
"questionId": "LEVEL_3_WORD_2",
"answer": "Teacher"
}
]
}
- ResponseBody: