GET api/courses/getcoursestatistic?pageSize={pageSize}&pageIndex={pageIndex}&key={key}&orderFiled={orderFiled}&sort={sort}
获取课程统计信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageSize | integer |
Default value is 10 |
|
pageIndex | integer |
Default value is 1 |
|
key | string |
Default value is |
|
orderFiled | string |
Default value is CreatedTime |
|
sort | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
获取课程统计信息
JsonRtnDtoOfPageResultOfCourseStatisticDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfCourseStatisticDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": "14e50778-e9a6-438a-95ca-c30adb25e972", "CourseName": "sample string 2", "LearnNum": 3, "StudentNum": 4, "TotalAnswerNum": 5, "Semester": 1, "Grade": 6, "HomeworkRate": 1.1, "HomeworkAccuracy": 1.1, "DiscussNumber": 7, "SubjectNumber": 8, "ReplyNumber": 9, "AnsQueNum": 10, "CreatedTime": "2024-09-25T00:10:00.2977063+08:00" }, { "Id": "14e50778-e9a6-438a-95ca-c30adb25e972", "CourseName": "sample string 2", "LearnNum": 3, "StudentNum": 4, "TotalAnswerNum": 5, "Semester": 1, "Grade": 6, "HomeworkRate": 1.1, "HomeworkAccuracy": 1.1, "DiscussNumber": 7, "SubjectNumber": 8, "ReplyNumber": 9, "AnsQueNum": 10, "CreatedTime": "2024-09-25T00:10:00.2977063+08:00" } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"14e50778-e9a6-438a-95ca-c30adb25e972","CourseName":"sample string 2","LearnNum":3,"StudentNum":4,"TotalAnswerNum":5,"Semester":1,"Grade":6,"HomeworkRate":1.1,"HomeworkAccuracy":1.1,"DiscussNumber":7,"SubjectNumber":8,"ReplyNumber":9,"AnsQueNum":10,"CreatedTime":"2024-09-25T00:10:00.2977063+08:00"},{"Id":"14e50778-e9a6-438a-95ca-c30adb25e972","CourseName":"sample string 2","LearnNum":3,"StudentNum":4,"TotalAnswerNum":5,"Semester":1,"Grade":6,"HomeworkRate":1.1,"HomeworkAccuracy":1.1,"DiscussNumber":7,"SubjectNumber":8,"ReplyNumber":9,"AnsQueNum":10,"CreatedTime":"2024-09-25T00:10:00.2977063+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfCourseStatisticDtov3CTEUQJS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure"> <d2p1:PageIndex>1</d2p1:PageIndex> <d2p1:PageSize>2</d2p1:PageSize> <d2p1:TotalPages>4</d2p1:TotalPages> <d2p1:total>3</d2p1:total> <d2p1:Value> <CourseStatisticDto> <AnsQueNum>10</AnsQueNum> <CourseName>sample string 2</CourseName> <CreatedTime>2024-09-25T00:10:00.2977063+08:00</CreatedTime> <DiscussNumber>7</DiscussNumber> <Grade>6</Grade> <HomeworkAccuracy>1.1</HomeworkAccuracy> <HomeworkRate>1.1</HomeworkRate> <Id>14e50778-e9a6-438a-95ca-c30adb25e972</Id> <LearnNum>3</LearnNum> <ReplyNumber>9</ReplyNumber> <Semester>第一学期</Semester> <StudentNum>4</StudentNum> <SubjectNumber>8</SubjectNumber> <TotalAnswerNum>5</TotalAnswerNum> </CourseStatisticDto> <CourseStatisticDto> <AnsQueNum>10</AnsQueNum> <CourseName>sample string 2</CourseName> <CreatedTime>2024-09-25T00:10:00.2977063+08:00</CreatedTime> <DiscussNumber>7</DiscussNumber> <Grade>6</Grade> <HomeworkAccuracy>1.1</HomeworkAccuracy> <HomeworkRate>1.1</HomeworkRate> <Id>14e50778-e9a6-438a-95ca-c30adb25e972</Id> <LearnNum>3</LearnNum> <ReplyNumber>9</ReplyNumber> <Semester>第一学期</Semester> <StudentNum>4</StudentNum> <SubjectNumber>8</SubjectNumber> <TotalAnswerNum>5</TotalAnswerNum> </CourseStatisticDto> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfCourseStatisticDtov3CTEUQJS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"14e50778-e9a6-438a-95ca-c30adb25e972","CourseName":"sample string 2","LearnNum":3,"StudentNum":4,"TotalAnswerNum":5,"Semester":1,"Grade":6,"HomeworkRate":1.1,"HomeworkAccuracy":1.1,"DiscussNumber":7,"SubjectNumber":8,"ReplyNumber":9,"AnsQueNum":10,"CreatedTime":"2024-09-25T00:10:00.2977063+08:00"},{"Id":"14e50778-e9a6-438a-95ca-c30adb25e972","CourseName":"sample string 2","LearnNum":3,"StudentNum":4,"TotalAnswerNum":5,"Semester":1,"Grade":6,"HomeworkRate":1.1,"HomeworkAccuracy":1.1,"DiscussNumber":7,"SubjectNumber":8,"ReplyNumber":9,"AnsQueNum":10,"CreatedTime":"2024-09-25T00:10:00.2977063+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});