GET api/v1/Edu/GetSubject?subjectId={subjectId}
车学堂视频学习-通过科目Id获取课时列表及其视频信息
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
subjectId | 1: 科目一 4:科目四 50:货运从业 51:客运从业 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "data": { "subjectId": 1, "subjectName": "sample string 2", "progress": 0, "progressTxt": "sample string 3", "lessons": [ { "lessonId": 1, "lessonName": "sample string 2", "lessonThumbnail": "sample string 3", "practiceQuestionIds": "sample string 4", "videos": [ { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true }, { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true }, { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true } ], "isFinished": true, "videoIsFinished": true, "practiceIsFinished": true }, { "lessonId": 1, "lessonName": "sample string 2", "lessonThumbnail": "sample string 3", "practiceQuestionIds": "sample string 4", "videos": [ { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true }, { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true }, { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true } ], "isFinished": true, "videoIsFinished": true, "practiceIsFinished": true }, { "lessonId": 1, "lessonName": "sample string 2", "lessonThumbnail": "sample string 3", "practiceQuestionIds": "sample string 4", "videos": [ { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true }, { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true }, { "videoId": 1, "lessonId": 1, "eduFileId": "sample string 2", "videoName": "sample string 3", "videoThumbnail": "sample string 4", "videoSeconds": 1, "videoSecondsTxt": "00:00:01", "isFinished": true } ], "isFinished": true, "videoIsFinished": true, "practiceIsFinished": true } ] }, "status": 0, "friendlyMessage": "sample string 1", "message": "sample string 2", "requestId": "d5a286baf83341e18ba6ef50cda245a2", "appOwnerId": 0 }