GET api/teachingclass/mine?tcId={tcId}&pageSize={pageSize}&pageIndex={pageIndex}&key={key}&sort={sort}
加载当前登陆用户的教学班级
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tcId |
专业Id |
integer |
Default value is 0 |
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
加载当前登陆用户的教学班级
JsonRtnDtoOfPageResultOfTeachingClassShowDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfTeachingClassShowDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": "1b3ebb07-50a3-4dfa-870e-33345b7a502c", "UserId": 2, "UserName": "sample string 3", "SchoolName": "sample string 4", "ProfessionalCourseId": 5, "ProfessionalCourseName": "sample string 6", "ClassName": "sample string 7", "StudentNumber": 8, "Grade": 9, "Semester": 1, "CreatedTime": "2024-09-25T00:05:45.7824698+08:00", "AdministrativeClass": "sample string 11" }, { "Id": "1b3ebb07-50a3-4dfa-870e-33345b7a502c", "UserId": 2, "UserName": "sample string 3", "SchoolName": "sample string 4", "ProfessionalCourseId": 5, "ProfessionalCourseName": "sample string 6", "ClassName": "sample string 7", "StudentNumber": 8, "Grade": 9, "Semester": 1, "CreatedTime": "2024-09-25T00:05:45.7824698+08:00", "AdministrativeClass": "sample string 11" } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"1b3ebb07-50a3-4dfa-870e-33345b7a502c","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:05:45.7824698+08:00","AdministrativeClass":"sample string 11"},{"Id":"1b3ebb07-50a3-4dfa-870e-33345b7a502c","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:05:45.7824698+08:00","AdministrativeClass":"sample string 11"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfTeachingClassShowDtov3CTEUQJS_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> <TeachingClassShowDto> <AdministrativeClass>sample string 11</AdministrativeClass> <ClassName>sample string 7</ClassName> <CreatedTime>2024-09-25T00:05:45.7824698+08:00</CreatedTime> <Grade>9</Grade> <Id>1b3ebb07-50a3-4dfa-870e-33345b7a502c</Id> <ProfessionalCourseId>5</ProfessionalCourseId> <ProfessionalCourseName>sample string 6</ProfessionalCourseName> <SchoolName>sample string 4</SchoolName> <Semester>第一学期</Semester> <StudentNumber>8</StudentNumber> <UserId>2</UserId> <UserName>sample string 3</UserName> </TeachingClassShowDto> <TeachingClassShowDto> <AdministrativeClass>sample string 11</AdministrativeClass> <ClassName>sample string 7</ClassName> <CreatedTime>2024-09-25T00:05:45.7824698+08:00</CreatedTime> <Grade>9</Grade> <Id>1b3ebb07-50a3-4dfa-870e-33345b7a502c</Id> <ProfessionalCourseId>5</ProfessionalCourseId> <ProfessionalCourseName>sample string 6</ProfessionalCourseName> <SchoolName>sample string 4</SchoolName> <Semester>第一学期</Semester> <StudentNumber>8</StudentNumber> <UserId>2</UserId> <UserName>sample string 3</UserName> </TeachingClassShowDto> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfTeachingClassShowDtov3CTEUQJS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"1b3ebb07-50a3-4dfa-870e-33345b7a502c","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:05:45.7824698+08:00","AdministrativeClass":"sample string 11"},{"Id":"1b3ebb07-50a3-4dfa-870e-33345b7a502c","UserId":2,"UserName":"sample string 3","SchoolName":"sample string 4","ProfessionalCourseId":5,"ProfessionalCourseName":"sample string 6","ClassName":"sample string 7","StudentNumber":8,"Grade":9,"Semester":1,"CreatedTime":"2024-09-25T00:05:45.7824698+08:00","AdministrativeClass":"sample string 11"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});