GET api/Sites/{SiteId}/Sections
Returns the Sections for a Site.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| SiteId | 
                         Application identifier for the Site  | 
                    globally unique identifier | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Resource Description
Collection of Section objects for the specified SiteId
Collection of Section| Name | Description | Type | Additional information | 
|---|---|---|---|
| SiteId | 
                         The application identifier of the Site for the Section.  | 
                    globally unique identifier | 
                             None.  | 
                
| CourseId | 
                         The application identifier of the Course for the Section.  | 
                    globally unique identifier | 
                             None.  | 
                
| SectionUid | 
                         The user identifier for the Section.  | 
                    string | 
                             None.  | 
                
| Title | 
                         The descriptive title for the Section.  | 
                    string | 
                             None.  | 
                
| Description | 
                         The description for the Section.  | 
                    string | 
                             None.  | 
                
| InstructorId | 
                         The application identifier of the Instructor for the Section.  | 
                    globally unique identifier | 
                             None.  | 
                
| Room | 
                         The room for the Section.  | 
                    string | 
                             None.  | 
                
| MaxStudents | 
                         The maximum number of Students allowed to enroll for the Section.  | 
                    integer | 
                             None.  | 
                
| BeginGradeUid | 
                         The begin Grade user identifier for the Section.  | 
                    string | 
                             None.  | 
                
| EndGradeUid | 
                         The end Grade user identifier for the Section.  | 
                    string | 
                             None.  | 
                
| PeriodName | 
                         The period name for the Section.  | 
                    string | 
                             None.  | 
                
| BeginSessionId | 
                         The application identifier of the begin Session for the Section.  | 
                    globally unique identifier | 
                             None.  | 
                
| EndSessionId | 
                         The application identifier of the end Session for the Section.  | 
                    globally unique identifier | 
                             None.  | 
                
| GradingEvaluationScheduleId | 
                         The application identifier of the Grading Evaluation Schedule for the Section.  | 
                    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
[
  {
    "SiteId": "a71b1c67-4824-414a-ade5-311b97243f5f",
    "CourseId": "0fee60e0-87b2-408f-81f2-f9b0292af6d6",
    "SectionUid": "sample string 3",
    "Title": "sample string 4",
    "Description": "sample string 5",
    "InstructorId": "59dd4229-7733-4f33-9cfd-fbe5bb4d1d84",
    "Room": "sample string 7",
    "MaxStudents": 8,
    "BeginGradeUid": "sample string 9",
    "EndGradeUid": "sample string 10",
    "PeriodName": "sample string 11",
    "BeginSessionId": "ef7c6ab6-8856-43d9-862c-34fdd56cfc8d",
    "EndSessionId": "2dc39ad5-d8d7-4a07-9e34-a6005c7c49e4",
    "GradingEvaluationScheduleId": "67168a01-08fa-4ed0-82a9-c4785eb8938b",
    "Id": "a47b5fc9-6cbe-4a20-8ebe-fad778037abe",
    "DataVersion": "sample string 16",
    "ApiName": ""
  },
  {
    "SiteId": "a71b1c67-4824-414a-ade5-311b97243f5f",
    "CourseId": "0fee60e0-87b2-408f-81f2-f9b0292af6d6",
    "SectionUid": "sample string 3",
    "Title": "sample string 4",
    "Description": "sample string 5",
    "InstructorId": "59dd4229-7733-4f33-9cfd-fbe5bb4d1d84",
    "Room": "sample string 7",
    "MaxStudents": 8,
    "BeginGradeUid": "sample string 9",
    "EndGradeUid": "sample string 10",
    "PeriodName": "sample string 11",
    "BeginSessionId": "ef7c6ab6-8856-43d9-862c-34fdd56cfc8d",
    "EndSessionId": "2dc39ad5-d8d7-4a07-9e34-a6005c7c49e4",
    "GradingEvaluationScheduleId": "67168a01-08fa-4ed0-82a9-c4785eb8938b",
    "Id": "a47b5fc9-6cbe-4a20-8ebe-fad778037abe",
    "DataVersion": "sample string 16",
    "ApiName": ""
  }
]
        application/xml, text/xml
<ArrayOfSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1">
  <Section>
    <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 16</DataVersion>
    <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">a47b5fc9-6cbe-4a20-8ebe-fad778037abe</Id>
    <BeginGradeUid>sample string 9</BeginGradeUid>
    <BeginSessionId>ef7c6ab6-8856-43d9-862c-34fdd56cfc8d</BeginSessionId>
    <CourseId>0fee60e0-87b2-408f-81f2-f9b0292af6d6</CourseId>
    <Description>sample string 5</Description>
    <EndGradeUid>sample string 10</EndGradeUid>
    <EndSessionId>2dc39ad5-d8d7-4a07-9e34-a6005c7c49e4</EndSessionId>
    <GradingEvaluationScheduleId>67168a01-08fa-4ed0-82a9-c4785eb8938b</GradingEvaluationScheduleId>
    <InstructorId>59dd4229-7733-4f33-9cfd-fbe5bb4d1d84</InstructorId>
    <MaxStudents>8</MaxStudents>
    <PeriodName>sample string 11</PeriodName>
    <Room>sample string 7</Room>
    <SectionUid>sample string 3</SectionUid>
    <SiteId>a71b1c67-4824-414a-ade5-311b97243f5f</SiteId>
    <Title>sample string 4</Title>
  </Section>
  <Section>
    <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 16</DataVersion>
    <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">a47b5fc9-6cbe-4a20-8ebe-fad778037abe</Id>
    <BeginGradeUid>sample string 9</BeginGradeUid>
    <BeginSessionId>ef7c6ab6-8856-43d9-862c-34fdd56cfc8d</BeginSessionId>
    <CourseId>0fee60e0-87b2-408f-81f2-f9b0292af6d6</CourseId>
    <Description>sample string 5</Description>
    <EndGradeUid>sample string 10</EndGradeUid>
    <EndSessionId>2dc39ad5-d8d7-4a07-9e34-a6005c7c49e4</EndSessionId>
    <GradingEvaluationScheduleId>67168a01-08fa-4ed0-82a9-c4785eb8938b</GradingEvaluationScheduleId>
    <InstructorId>59dd4229-7733-4f33-9cfd-fbe5bb4d1d84</InstructorId>
    <MaxStudents>8</MaxStudents>
    <PeriodName>sample string 11</PeriodName>
    <Room>sample string 7</Room>
    <SectionUid>sample string 3</SectionUid>
    <SiteId>a71b1c67-4824-414a-ade5-311b97243f5f</SiteId>
    <Title>sample string 4</Title>
  </Section>
</ArrayOfSection>