简要描述:

  • 获取学生考试列表

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 scott 2020-05-07

请求URL:

请求方式:

  • GET

请求头:

请求参数:

参数名 是否必需 类型 示例值 说明
keyword string 1 第三方用户id
appId int 1 appId(懂你提供)
userType int 1 角色类型(3:老师 4:学生 5:家长)

返回示例:

正确时返回:

{
    "status": 0,
    "message": "成功",
    "data": [{
        "examId": 1,
        "examName": "考试名称",
        "startDate": "2020-02-02",
        "endDate": "2020-02-02",
        "examStatus": 1,
        "studentId": 1,
        "studentName": "大雄",
        "studentNum": "3000011"
    }],
    "error": null
}

错误时返回:

{
    "status": 1,
    "message": "未知错误",
    "data": null
}

返回参数说明:

参数名 类型 示例值 说明
examId long 1 考试id
examName string 1 考试名称
examStatus int 1 考试状态(1进行中2待办公布3已经公布)
studentName string 大雄 学生名称
studentId long 1 学生id
studentNum string 3000011 学号
startDate string 2020-02-02 开始时间
endDate string 2020-02-02 结束时间

备注:

  • 更多返回错误代码请看首页的错误代码描述
作者:yifan.chen  创建时间:2020-05-07 18:18
最后编辑:yifan.chen  更新时间:2022-12-20 14:39