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