GET api/Courses/{CourseId}
Returns a Course.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CourseId |
Application identifier for the Course |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Course object for the specified CourseId
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": "de64e3ce-c904-4ed1-9f92-29d5ed0d531a",
"Id": "6a10baff-0ba0-4365-be21-112d120531c9",
"DataVersion": "sample string 11",
"ApiName": ""
}
application/xml, text/xml
<Course xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1"> <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 11</DataVersion> <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">6a10baff-0ba0-4365-be21-112d120531c9</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>de64e3ce-c904-4ed1-9f92-29d5ed0d531a</SIFRefId> <StatePrId>sample string 2</StatePrId> </Course>