GET api/ppadmin/lessonpage?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 AddTime |
|
sort | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
课程信息分页
JsonRtnDtoOfPageResultOfLessonName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfLesson |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": "sample string 1", "Lessons": "sample string 2", "Cid": "sample string 3", "Ischeck": true, "Datas": "sample string 5", "AddTime": "2024-09-25T00:10:16.6716878+08:00", "Semester": 1, "Grade": 6 }, { "Id": "sample string 1", "Lessons": "sample string 2", "Cid": "sample string 3", "Ischeck": true, "Datas": "sample string 5", "AddTime": "2024-09-25T00:10:16.6716878+08:00", "Semester": 1, "Grade": 6 } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:10:16.6716878+08:00","Semester":1,"Grade":6},{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:10:16.6716878+08:00","Semester":1,"Grade":6}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfLessonmEDjlcEGS_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 xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d3p1:Lesson> <d3p1:AddTime>2024-09-25T00:10:16.6716878+08:00</d3p1:AddTime> <d3p1:Cid>sample string 3</d3p1:Cid> <d3p1:Datas>sample string 5</d3p1:Datas> <d3p1:Grade>6</d3p1:Grade> <d3p1:Id>sample string 1</d3p1:Id> <d3p1:Ischeck>true</d3p1:Ischeck> <d3p1:Lessons>sample string 2</d3p1:Lessons> <d3p1:Semester>第一学期</d3p1:Semester> </d3p1:Lesson> <d3p1:Lesson> <d3p1:AddTime>2024-09-25T00:10:16.6716878+08:00</d3p1:AddTime> <d3p1:Cid>sample string 3</d3p1:Cid> <d3p1:Datas>sample string 5</d3p1:Datas> <d3p1:Grade>6</d3p1:Grade> <d3p1:Id>sample string 1</d3p1:Id> <d3p1:Ischeck>true</d3p1:Ischeck> <d3p1:Lessons>sample string 2</d3p1:Lessons> <d3p1:Semester>第一学期</d3p1:Semester> </d3p1:Lesson> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfLessonmEDjlcEGS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:10:16.6716878+08:00","Semester":1,"Grade":6},{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:10:16.6716878+08:00","Semester":1,"Grade":6}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});