GET api/courses/mycourses?lbls={lbls}&IsHot={IsHot}&pageSize={pageSize}&pageIndex={pageIndex}&key={key}&sort={sort}
加载我的课程列表(学生)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lbls |
标签(单引号分割的标签编如“1,3,5,8”) |
string |
Default value is |
IsHot |
是否热门 |
boolean |
Default value is False |
pageSize |
页尺寸 |
integer |
Default value is 10 |
pageIndex |
页索引 |
integer |
Default value is 1 |
key |
查询关键字 |
string |
Default value is |
sort | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
加载我的课程列表(学生)
JsonRtnDtoOfPageResultOfCourseListDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfCourseListDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": "1c515962-ea67-4310-a699-e5fadabf8e1d", "PubID": "2880ed4c-bc5a-43af-9427-adf610b55dca", "CreatedUserID": 3, "ModifyUserID": 4, "CourseName": "sample string 5", "CourseTypes": "sample string 6", "LecturerID": 7, "LecturerName": "sample string 8", "ChargeID": 9, "ChargeName": "sample string 10", "Cover": "sample string 11", "Lbls": "sample string 12", "LearnState": 13, "CourseState": 14, "Recommendation": "sample string 15", "Teams": [ { "MemberId": "sample string 1", "MemberType": 2, "AccountName": "sample string 3", "MemberName": "sample string 4" }, { "MemberId": "sample string 1", "MemberType": 2, "AccountName": "sample string 3", "MemberName": "sample string 4" } ], "Semester": 1, "Grade": 16, "TeamMembers": "sample string 4,sample string 4" }, { "Id": "1c515962-ea67-4310-a699-e5fadabf8e1d", "PubID": "2880ed4c-bc5a-43af-9427-adf610b55dca", "CreatedUserID": 3, "ModifyUserID": 4, "CourseName": "sample string 5", "CourseTypes": "sample string 6", "LecturerID": 7, "LecturerName": "sample string 8", "ChargeID": 9, "ChargeName": "sample string 10", "Cover": "sample string 11", "Lbls": "sample string 12", "LearnState": 13, "CourseState": 14, "Recommendation": "sample string 15", "Teams": [ { "MemberId": "sample string 1", "MemberType": 2, "AccountName": "sample string 3", "MemberName": "sample string 4" }, { "MemberId": "sample string 1", "MemberType": 2, "AccountName": "sample string 3", "MemberName": "sample string 4" } ], "Semester": 1, "Grade": 16, "TeamMembers": "sample string 4,sample string 4" } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"1c515962-ea67-4310-a699-e5fadabf8e1d","PubID":"2880ed4c-bc5a-43af-9427-adf610b55dca","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","CourseTypes":"sample string 6","LecturerID":7,"LecturerName":"sample string 8","ChargeID":9,"ChargeName":"sample string 10","Cover":"sample string 11","Lbls":"sample string 12","LearnState":13,"CourseState":14,"Recommendation":"sample string 15","Teams":[{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"},{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"}],"Semester":1,"Grade":16,"TeamMembers":"sample string 4,sample string 4"},{"Id":"1c515962-ea67-4310-a699-e5fadabf8e1d","PubID":"2880ed4c-bc5a-43af-9427-adf610b55dca","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","CourseTypes":"sample string 6","LecturerID":7,"LecturerName":"sample string 8","ChargeID":9,"ChargeName":"sample string 10","Cover":"sample string 11","Lbls":"sample string 12","LearnState":13,"CourseState":14,"Recommendation":"sample string 15","Teams":[{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"},{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"}],"Semester":1,"Grade":16,"TeamMembers":"sample string 4,sample string 4"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfCourseListDtov3CTEUQJS_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> <CourseListDto> <ChargeID>9</ChargeID> <ChargeName>sample string 10</ChargeName> <CourseName>sample string 5</CourseName> <CourseState>14</CourseState> <CourseTypes>sample string 6</CourseTypes> <Cover>sample string 11</Cover> <CreatedUserID>3</CreatedUserID> <Grade>16</Grade> <Id>1c515962-ea67-4310-a699-e5fadabf8e1d</Id> <Lbls>sample string 12</Lbls> <LearnState>13</LearnState> <LecturerID>7</LecturerID> <LecturerName>sample string 8</LecturerName> <ModifyUserID>4</ModifyUserID> <PubID>2880ed4c-bc5a-43af-9427-adf610b55dca</PubID> <Recommendation>sample string 15</Recommendation> <Semester>第一学期</Semester> <Teams> <MemberMiniViewDto> <AccountName>sample string 3</AccountName> <MemberId>sample string 1</MemberId> <MemberName>sample string 4</MemberName> <MemberType>2</MemberType> </MemberMiniViewDto> <MemberMiniViewDto> <AccountName>sample string 3</AccountName> <MemberId>sample string 1</MemberId> <MemberName>sample string 4</MemberName> <MemberType>2</MemberType> </MemberMiniViewDto> </Teams> </CourseListDto> <CourseListDto> <ChargeID>9</ChargeID> <ChargeName>sample string 10</ChargeName> <CourseName>sample string 5</CourseName> <CourseState>14</CourseState> <CourseTypes>sample string 6</CourseTypes> <Cover>sample string 11</Cover> <CreatedUserID>3</CreatedUserID> <Grade>16</Grade> <Id>1c515962-ea67-4310-a699-e5fadabf8e1d</Id> <Lbls>sample string 12</Lbls> <LearnState>13</LearnState> <LecturerID>7</LecturerID> <LecturerName>sample string 8</LecturerName> <ModifyUserID>4</ModifyUserID> <PubID>2880ed4c-bc5a-43af-9427-adf610b55dca</PubID> <Recommendation>sample string 15</Recommendation> <Semester>第一学期</Semester> <Teams> <MemberMiniViewDto> <AccountName>sample string 3</AccountName> <MemberId>sample string 1</MemberId> <MemberName>sample string 4</MemberName> <MemberType>2</MemberType> </MemberMiniViewDto> <MemberMiniViewDto> <AccountName>sample string 3</AccountName> <MemberId>sample string 1</MemberId> <MemberName>sample string 4</MemberName> <MemberType>2</MemberType> </MemberMiniViewDto> </Teams> </CourseListDto> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfCourseListDtov3CTEUQJS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"1c515962-ea67-4310-a699-e5fadabf8e1d","PubID":"2880ed4c-bc5a-43af-9427-adf610b55dca","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","CourseTypes":"sample string 6","LecturerID":7,"LecturerName":"sample string 8","ChargeID":9,"ChargeName":"sample string 10","Cover":"sample string 11","Lbls":"sample string 12","LearnState":13,"CourseState":14,"Recommendation":"sample string 15","Teams":[{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"},{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"}],"Semester":1,"Grade":16,"TeamMembers":"sample string 4,sample string 4"},{"Id":"1c515962-ea67-4310-a699-e5fadabf8e1d","PubID":"2880ed4c-bc5a-43af-9427-adf610b55dca","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","CourseTypes":"sample string 6","LecturerID":7,"LecturerName":"sample string 8","ChargeID":9,"ChargeName":"sample string 10","Cover":"sample string 11","Lbls":"sample string 12","LearnState":13,"CourseState":14,"Recommendation":"sample string 15","Teams":[{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"},{"MemberId":"sample string 1","MemberType":2,"AccountName":"sample string 3","MemberName":"sample string 4"}],"Semester":1,"Grade":16,"TeamMembers":"sample string 4,sample string 4"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});