智能评测小程序0420.md 1.29 KB

996.icu

智能评测小程序接口文档

1. 查询学生是否在后台有填报记录
  • URL: {{localhost}}/boxfish-wudaokou-recommend/exam/level/confirm?studentId=100000007715
  • Method: GET
  • RequestParams: studentId

  • ResponseBody:

    {
    "flagExamLevel": true,
    "examLevel": "LEVEL_3",
    "examGrade": "三年级",
    "name": "user1810111013390rAJzyhV",
    "avatars": "https://avatars.boxfish.cn/user/100000007715/figure/1556087186.jpg"
    }
    
2. 获取学生评测试题内容
  • URL: {{localhost}}/boxfish-wudaokou-recommend/exam/text/getExamText?studentId=100000006030&examLevel=LEVEL_3
  • Method: GET
  • RequestParams:

    参数1studentId,学生IDInteger
    参数2examLevel,评测等级,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: