GET api/v1/Edu/GetSubjectForAdmin?subjectId={subjectId}&userId={userId}
用于管理平台调用获取科目信息
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
subjectId |
Define this parameter in the request URI. |
|
userId |
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": "a18dc57e1bed41a88abe7a982bab2365", "appOwnerId": 0 }