GET api/Courses/{SchoolYear}

Returns the Courses for the Sites in a School Year.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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

Sample:
[
  {
    "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": "d2afba4c-8b7b-4b8e-a5b1-1a974d6536bf",
    "Id": "5fbe0a44-86e5-4044-b905-af9068428db3",
    "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": "d2afba4c-8b7b-4b8e-a5b1-1a974d6536bf",
    "Id": "5fbe0a44-86e5-4044-b905-af9068428db3",
    "DataVersion": "sample string 11",
    "ApiName": ""
  }
]

application/xml, text/xml

Sample:
<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">5fbe0a44-86e5-4044-b905-af9068428db3</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>d2afba4c-8b7b-4b8e-a5b1-1a974d6536bf</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">5fbe0a44-86e5-4044-b905-af9068428db3</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>d2afba4c-8b7b-4b8e-a5b1-1a974d6536bf</SIFRefId>
    <StatePrId>sample string 2</StatePrId>
  </Course>
</ArrayOfCourse>