GET api/Courses/{SchoolYear}
Returns the Courses for the Sites in a School Year.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolYear |
Numeric Value of the School Year (i.e. 2018 for the 2017-2018 School Year) |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Course objects for the specified SchoolYear
Collection of Course| Name | Description | Type | Additional information |
|---|---|---|---|
| CourseUid |
The user identifier for the Course. |
string |
None. |
| StatePrId |
The StatePrId for the Course. |
string |
None. |
| Description |
The description for the Course. |
string |
None. |
| MaxStudents |
The default maximum number of Students allowed to enroll for the Course. This can be overridden in the Section. |
integer |
None. |
| NumberOfPeriods |
The default number of Periods taught for the Course. The Section will specify the Periods taught. |
integer |
None. |
| Length |
The default number of Sessions taught for the Course. The Section will specify the Sessions taught. |
integer |
None. |
| BeginGradeUid |
The begin Grade user identifier for the Course. |
string |
None. |
| EndGradeUid |
The end Grade user identifier for the Course. |
string |
None. |
| SIFRefId |
The SIFRefId for the Course. |
globally unique identifier |
None. |
| Id |
The application identifier for the object. This cannot be changed by the user. |
globally unique identifier |
None. |
| DataVersion |
The version of the API data |
string |
None. |
| ApiName |
The name of the object without the Api suffix |
string |
None. |
Response Formats
application/json, text/json
[
{
"CourseUid": "sample string 1",
"StatePrId": "sample string 2",
"Description": "sample string 3",
"MaxStudents": 4,
"NumberOfPeriods": 5,
"Length": 6,
"BeginGradeUid": "sample string 7",
"EndGradeUid": "sample string 8",
"SIFRefId": "bab14b01-cf30-4cab-ae24-9e3c4940085f",
"Id": "680c7885-b62d-4887-a432-baa5d90ef3c0",
"DataVersion": "sample string 11",
"ApiName": ""
},
{
"CourseUid": "sample string 1",
"StatePrId": "sample string 2",
"Description": "sample string 3",
"MaxStudents": 4,
"NumberOfPeriods": 5,
"Length": 6,
"BeginGradeUid": "sample string 7",
"EndGradeUid": "sample string 8",
"SIFRefId": "bab14b01-cf30-4cab-ae24-9e3c4940085f",
"Id": "680c7885-b62d-4887-a432-baa5d90ef3c0",
"DataVersion": "sample string 11",
"ApiName": ""
}
]
application/xml, text/xml
<ArrayOfCourse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1">
<Course>
<DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 11</DataVersion>
<Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">680c7885-b62d-4887-a432-baa5d90ef3c0</Id>
<BeginGradeUid>sample string 7</BeginGradeUid>
<CourseUid>sample string 1</CourseUid>
<Description>sample string 3</Description>
<EndGradeUid>sample string 8</EndGradeUid>
<Length>6</Length>
<MaxStudents>4</MaxStudents>
<NumberOfPeriods>5</NumberOfPeriods>
<SIFRefId>bab14b01-cf30-4cab-ae24-9e3c4940085f</SIFRefId>
<StatePrId>sample string 2</StatePrId>
</Course>
<Course>
<DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 11</DataVersion>
<Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">680c7885-b62d-4887-a432-baa5d90ef3c0</Id>
<BeginGradeUid>sample string 7</BeginGradeUid>
<CourseUid>sample string 1</CourseUid>
<Description>sample string 3</Description>
<EndGradeUid>sample string 8</EndGradeUid>
<Length>6</Length>
<MaxStudents>4</MaxStudents>
<NumberOfPeriods>5</NumberOfPeriods>
<SIFRefId>bab14b01-cf30-4cab-ae24-9e3c4940085f</SIFRefId>
<StatePrId>sample string 2</StatePrId>
</Course>
</ArrayOfCourse>