GET api/classcourses/searchmyinepage?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
所有班课列表分页
JsonRtnDtoOfPageResultOfClassCourseSaveDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfClassCourseSaveDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": "47a6a274-d8e3-4840-b2dc-f67015610992", "UserID": "sample string 2", "ClassCourseName": "sample string 3", "Cover": "sample string 4", "Introduction": "sample string 5", "TeachingClassId": "d013fcfc-15e5-4f76-b8e8-fbce0292a4ba", "TeachingClassName": "sample string 7", "TeachingClassPId": 1, "Semester": 1, "Grade": 8 }, { "Id": "47a6a274-d8e3-4840-b2dc-f67015610992", "UserID": "sample string 2", "ClassCourseName": "sample string 3", "Cover": "sample string 4", "Introduction": "sample string 5", "TeachingClassId": "d013fcfc-15e5-4f76-b8e8-fbce0292a4ba", "TeachingClassName": "sample string 7", "TeachingClassPId": 1, "Semester": 1, "Grade": 8 } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"47a6a274-d8e3-4840-b2dc-f67015610992","UserID":"sample string 2","ClassCourseName":"sample string 3","Cover":"sample string 4","Introduction":"sample string 5","TeachingClassId":"d013fcfc-15e5-4f76-b8e8-fbce0292a4ba","TeachingClassName":"sample string 7","TeachingClassPId":1,"Semester":1,"Grade":8},{"Id":"47a6a274-d8e3-4840-b2dc-f67015610992","UserID":"sample string 2","ClassCourseName":"sample string 3","Cover":"sample string 4","Introduction":"sample string 5","TeachingClassId":"d013fcfc-15e5-4f76-b8e8-fbce0292a4ba","TeachingClassName":"sample string 7","TeachingClassPId":1,"Semester":1,"Grade":8}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfClassCourseSaveDtov3CTEUQJS_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> <ClassCourseSaveDto> <ClassCourseName>sample string 3</ClassCourseName> <Cover>sample string 4</Cover> <Grade>8</Grade> <Id>47a6a274-d8e3-4840-b2dc-f67015610992</Id> <Introduction>sample string 5</Introduction> <Semester>第一学期</Semester> <TeachingClassId>d013fcfc-15e5-4f76-b8e8-fbce0292a4ba</TeachingClassId> <TeachingClassName>sample string 7</TeachingClassName> <TeachingClassPId>1</TeachingClassPId> <UserID>sample string 2</UserID> </ClassCourseSaveDto> <ClassCourseSaveDto> <ClassCourseName>sample string 3</ClassCourseName> <Cover>sample string 4</Cover> <Grade>8</Grade> <Id>47a6a274-d8e3-4840-b2dc-f67015610992</Id> <Introduction>sample string 5</Introduction> <Semester>第一学期</Semester> <TeachingClassId>d013fcfc-15e5-4f76-b8e8-fbce0292a4ba</TeachingClassId> <TeachingClassName>sample string 7</TeachingClassName> <TeachingClassPId>1</TeachingClassPId> <UserID>sample string 2</UserID> </ClassCourseSaveDto> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfClassCourseSaveDtov3CTEUQJS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"47a6a274-d8e3-4840-b2dc-f67015610992","UserID":"sample string 2","ClassCourseName":"sample string 3","Cover":"sample string 4","Introduction":"sample string 5","TeachingClassId":"d013fcfc-15e5-4f76-b8e8-fbce0292a4ba","TeachingClassName":"sample string 7","TeachingClassPId":1,"Semester":1,"Grade":8},{"Id":"47a6a274-d8e3-4840-b2dc-f67015610992","UserID":"sample string 2","ClassCourseName":"sample string 3","Cover":"sample string 4","Introduction":"sample string 5","TeachingClassId":"d013fcfc-15e5-4f76-b8e8-fbce0292a4ba","TeachingClassName":"sample string 7","TeachingClassPId":1,"Semester":1,"Grade":8}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});