GET api/EnExamYear?SchoolId={SchoolId}&ClassID={ClassID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SchoolId | integer |
Required |
|
ClassID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of YearsName | Description | Type | Additional information |
---|---|---|---|
YearId | integer |
None. |
|
YearName | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "yearId": 1, "yearName": "sample string 2" }, { "yearId": 1, "yearName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfYears xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_Api.Controllers"> <Years> <YearId>1</YearId> <YearName>sample string 2</YearName> </Years> <Years> <YearId>1</YearId> <YearName>sample string 2</YearName> </Years> </ArrayOfYears>