GET api/GetSubjects
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ClassSubjectModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| SCHOOL_ID | integer |
None. |
|
| SUBJECT | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"SCHOOL_ID": 2,
"SUBJECT": "sample string 3"
},
{
"ID": 1,
"SCHOOL_ID": 2,
"SUBJECT": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfClassSubjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Models.Grade">
<ClassSubjectModel>
<ID>1</ID>
<SCHOOL_ID>2</SCHOOL_ID>
<SUBJECT>sample string 3</SUBJECT>
</ClassSubjectModel>
<ClassSubjectModel>
<ID>1</ID>
<SCHOOL_ID>2</SCHOOL_ID>
<SUBJECT>sample string 3</SUBJECT>
</ClassSubjectModel>
</ArrayOfClassSubjectModel>