Skip to content

课程任务数据

课程任务列表数据

GET /api_v3/courseTask

权限

  • 需要认证

请求参数

字段类型必选描述示例
courseIdstring课程ID1110

响应

json
{
    "data": [
        {
            "courseId": "1110",
            "courseName": "测试自动加入的待办",
            "taskId": "3237",
            "taskName": "线上课程考试",
            "taskType": "testpaper",
            "isOptional": "f"
        },
        {
            "courseId": "1109",
            "courseName": "一级的普通课程",
            "taskId": "3234",
            "taskName": "视频 1",
            "taskType": "video",
            "isOptional": "f"
        }
    ]
}

字段说明

字段类型描述
courseIdstring课程ID
courseNamestring课程名称
taskIdstring任务ID
taskNamestring任务名称
taskTypestring任务类型 text 图文 video 视频 audio 音频 live 直播 ailive 智能直播 discuss 讨论 flash Flash doc 文档 ppt PPT testpaper 考试 homework作业 exercise练习 download下载资料 scorm scorm插件 questionnaire 课程评价
isOptionalstring是否是选修 t是 f否

课程任务学员学习数据

GET /api_v3/courseTaskResult

权限

  • 需要认证

请求参数

字段类型必选描述示例
courseIdstring课程ID1110
taskIdstring任务ID3237
courseTaskResultUpdatedTimestring课程任务更新时间2023-07-15 00:00:00 - 2023-07-15 23:59:59
startint分页偏移量不传默认是0
limitint分页数量不传默认是100

响应

json
{
    "page": 1,
    "total": 2,
    "size": 100,
    "data": [
        {
            "userInfo": {
                "truename": "zhao",
                "nickname": "z111",
                "postName": "",
                "postId": "",
                "fullOrg": "向阳花",
                "fullOrgIds": "1"
            },
            "taskStartTime": "2023-03-01 14:14:47",
            "taskFinishedTime": "",
            "taskFinishedStatus": "f",
            "learnTime": 0,
            "maxScore": "0.0",
            "testpaperPassedStatus": "f"
        },
        {
            "userInfo": {
                "truename": "chenjingsen",
                "nickname": "chenjingsen",
                "postName": true,
                "postId": true,
                "fullOrg": "向阳花",
                "fullOrgIds": "1"
            },
            "taskStartTime": "2023-03-01 14:25:12",
            "taskFinishedTime": "",
            "taskFinishedStatus": "f",
            "learnTime": 0,
            "maxScore": "0.0",
            "testpaperPassedStatus": "f"
        }
    ]
}

字段说明

字段类型描述
userInfoarray考试学员信息
truenamestring姓名
nicknamestring用户名
postNamestring岗位名称
postIdstring岗位ID
fullOrgstring部门名称
fullOrgIdsstring部门ID
taskStartTimestring任务开始学习时间
taskFinishedTimestring任务完成时间
taskFinishedStatusstring任务是否完成 t是 f否
learnTimeint学习时长(秒)
maxScoreint考试最好成绩
testpaperPassedStatusstring考试是否通过 t是 f否 空