GET api/ExamPlan/GetSubjectProfessionalClass?subjectId={subjectId}
查询科目下的专业及班级
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subjectId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
查询科目下的专业及班级
JsonRtnDtoOfListOfTemplateKeyValueOfStringAndString[]Name | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of TemplateKeyValueOfStringAndString[] |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "Key": "sample string 1", "Value": [ "sample string 1", "sample string 2" ] }, { "Key": "sample string 1", "Value": [ "sample string 1", "sample string 2" ] } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Key":"sample string 1","Value":["sample string 1","sample string 2"]},{"Key":"sample string 1","Value":["sample string 1","sample string 2"]}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfTemplateKeyValueOfstringArrayOfstringty7Ep6D1S_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:TemplateKeyValueOfstringArrayOfstringty7Ep6D1> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:Value> </d2p1:TemplateKeyValueOfstringArrayOfstringty7Ep6D1> <d2p1:TemplateKeyValueOfstringArrayOfstringty7Ep6D1> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:Value> </d2p1:TemplateKeyValueOfstringArrayOfstringty7Ep6D1> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfTemplateKeyValueOfstringArrayOfstringty7Ep6D1S_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Key":"sample string 1","Value":["sample string 1","sample string 2"]},{"Key":"sample string 1","Value":["sample string 1","sample string 2"]}]});