GET api/ExamPlan/GetSubjectClass?subjectId={subjectId}
查询科目下的班级
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subjectId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
查询科目下的班级
JsonRtnDtoOfListOfSubjectClassOutputDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of SubjectClassOutputDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "ClassName": "sample string 1", "StuNum": 2, "SubjectId": "933e4b5c-69f6-4698-99db-b596ca1f7bec" }, { "ClassName": "sample string 1", "StuNum": 2, "SubjectId": "933e4b5c-69f6-4698-99db-b596ca1f7bec" } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ClassName":"sample string 1","StuNum":2,"SubjectId":"933e4b5c-69f6-4698-99db-b596ca1f7bec"},{"ClassName":"sample string 1","StuNum":2,"SubjectId":"933e4b5c-69f6-4698-99db-b596ca1f7bec"}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfSubjectClassOutputDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <SubjectClassOutputDto> <ClassName>sample string 1</ClassName> <StuNum>2</StuNum> <SubjectId>933e4b5c-69f6-4698-99db-b596ca1f7bec</SubjectId> </SubjectClassOutputDto> <SubjectClassOutputDto> <ClassName>sample string 1</ClassName> <StuNum>2</StuNum> <SubjectId>933e4b5c-69f6-4698-99db-b596ca1f7bec</SubjectId> </SubjectClassOutputDto> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfSubjectClassOutputDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ClassName":"sample string 1","StuNum":2,"SubjectId":"933e4b5c-69f6-4698-99db-b596ca1f7bec"},{"ClassName":"sample string 1","StuNum":2,"SubjectId":"933e4b5c-69f6-4698-99db-b596ca1f7bec"}]});