GET api/screenshow/getclasscoursebytid?teacherid={teacherid}
根据老师获取班课列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
teacherid |
老师id |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
根据老师获取班课列表
JsonRtnDtoOfListOfClassCourseName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of ClassCourse |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "CreatedUserID": 1, "ClassCourseName": "sample string 2", "Cover": "sample string 3", "Introduction": "sample string 4", "ClassCourseState": 5, "TeachingClassId": "a0ea4099-f9c5-4ce9-a78b-88fb6d19267c", "Semester": 1, "Grade": 7, "Id": "eca8c6e4-6a74-4d05-ba62-4795b39541d3", "CreatedTime": "2024-09-25T00:10:37.0934326+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:10:37.0934326+08:00" }, { "CreatedUserID": 1, "ClassCourseName": "sample string 2", "Cover": "sample string 3", "Introduction": "sample string 4", "ClassCourseState": 5, "TeachingClassId": "a0ea4099-f9c5-4ce9-a78b-88fb6d19267c", "Semester": 1, "Grade": 7, "Id": "eca8c6e4-6a74-4d05-ba62-4795b39541d3", "CreatedTime": "2024-09-25T00:10:37.0934326+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:10:37.0934326+08:00" } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"CreatedUserID":1,"ClassCourseName":"sample string 2","Cover":"sample string 3","Introduction":"sample string 4","ClassCourseState":5,"TeachingClassId":"a0ea4099-f9c5-4ce9-a78b-88fb6d19267c","Semester":1,"Grade":7,"Id":"eca8c6e4-6a74-4d05-ba62-4795b39541d3","CreatedTime":"2024-09-25T00:10:37.0934326+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:10:37.0934326+08:00"},{"CreatedUserID":1,"ClassCourseName":"sample string 2","Cover":"sample string 3","Introduction":"sample string 4","ClassCourseState":5,"TeachingClassId":"a0ea4099-f9c5-4ce9-a78b-88fb6d19267c","Semester":1,"Grade":7,"Id":"eca8c6e4-6a74-4d05-ba62-4795b39541d3","CreatedTime":"2024-09-25T00:10:37.0934326+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:10:37.0934326+08:00"}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfClassCoursemEDjlcEG 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.Data"> <d2p1:ClassCourse> <d2p1:CreatedTime>2024-09-25T00:10:37.0934326+08:00</d2p1:CreatedTime> <d2p1:Id>eca8c6e4-6a74-4d05-ba62-4795b39541d3</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:LastUpdatedTime>2024-09-25T00:10:37.0934326+08:00</d2p1:LastUpdatedTime> <d2p1:ClassCourseName>sample string 2</d2p1:ClassCourseName> <d2p1:ClassCourseState>5</d2p1:ClassCourseState> <d2p1:Cover>sample string 3</d2p1:Cover> <d2p1:CreatedUserID>1</d2p1:CreatedUserID> <d2p1:Grade>7</d2p1:Grade> <d2p1:Introduction>sample string 4</d2p1:Introduction> <d2p1:Semester>第一学期</d2p1:Semester> <d2p1:TeachingClassId>a0ea4099-f9c5-4ce9-a78b-88fb6d19267c</d2p1:TeachingClassId> </d2p1:ClassCourse> <d2p1:ClassCourse> <d2p1:CreatedTime>2024-09-25T00:10:37.0934326+08:00</d2p1:CreatedTime> <d2p1:Id>eca8c6e4-6a74-4d05-ba62-4795b39541d3</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:LastUpdatedTime>2024-09-25T00:10:37.0934326+08:00</d2p1:LastUpdatedTime> <d2p1:ClassCourseName>sample string 2</d2p1:ClassCourseName> <d2p1:ClassCourseState>5</d2p1:ClassCourseState> <d2p1:Cover>sample string 3</d2p1:Cover> <d2p1:CreatedUserID>1</d2p1:CreatedUserID> <d2p1:Grade>7</d2p1:Grade> <d2p1:Introduction>sample string 4</d2p1:Introduction> <d2p1:Semester>第一学期</d2p1:Semester> <d2p1:TeachingClassId>a0ea4099-f9c5-4ce9-a78b-88fb6d19267c</d2p1:TeachingClassId> </d2p1:ClassCourse> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfClassCoursemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"CreatedUserID":1,"ClassCourseName":"sample string 2","Cover":"sample string 3","Introduction":"sample string 4","ClassCourseState":5,"TeachingClassId":"a0ea4099-f9c5-4ce9-a78b-88fb6d19267c","Semester":1,"Grade":7,"Id":"eca8c6e4-6a74-4d05-ba62-4795b39541d3","CreatedTime":"2024-09-25T00:10:37.0934326+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:10:37.0934326+08:00"},{"CreatedUserID":1,"ClassCourseName":"sample string 2","Cover":"sample string 3","Introduction":"sample string 4","ClassCourseState":5,"TeachingClassId":"a0ea4099-f9c5-4ce9-a78b-88fb6d19267c","Semester":1,"Grade":7,"Id":"eca8c6e4-6a74-4d05-ba62-4795b39541d3","CreatedTime":"2024-09-25T00:10:37.0934326+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:10:37.0934326+08:00"}]});