POST Course/GetSections

Get sections and userdetails for specific course

Request Information

URI Parameters

None.

Body Parameters

RequestCourseGetSections
NameDescriptionTypeAdditional information
CourseID

integer

None.

UserID

integer

None.

TeamID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseID": 1,
  "UserID": 2,
  "TeamID": 3
}

text/html

Sample:
{"CourseID":1,"UserID":2,"TeamID":3}

application/xml, text/xml

Sample:
<RequestCourseGetSections xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestModels">
  <CourseID>1</CourseID>
  <TeamID>3</TeamID>
  <UserID>2</UserID>
</RequestCourseGetSections>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestCourseGetSections'.

Response Information

Resource Description

Collection of CourseSections
NameDescriptionTypeAdditional information
Section_ID

integer

None.

Section_Name

string

None.

Section_Description

string

None.

Section_VimeoID

string

None.

Section_CourseID

integer

None.

Section_GUID

string

None.

Section_VimeoDuration

integer

None.

Section_VimeoBookmarkData

string

None.

Section_GroupSubNames

string

None.

Section_AudioFile

string

None.

Section_Deactivate

integer

None.

BestScore

decimal number

None.

SectionFinished

boolean

None.

SectionStarted

boolean

None.

SectionNumberLocked

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Section_ID": 1,
    "Section_Name": "sample string 2",
    "Section_Description": "sample string 3",
    "Section_VimeoID": "sample string 4",
    "Section_CourseID": 5,
    "Section_GUID": "sample string 6",
    "Section_VimeoDuration": 7,
    "Section_VimeoBookmarkData": "sample string 8",
    "Section_GroupSubNames": "sample string 9",
    "Section_AudioFile": "sample string 10",
    "Section_Deactivate": 11,
    "BestScore": 12.0,
    "SectionFinished": true,
    "SectionStarted": true,
    "SectionNumberLocked": true
  },
  {
    "Section_ID": 1,
    "Section_Name": "sample string 2",
    "Section_Description": "sample string 3",
    "Section_VimeoID": "sample string 4",
    "Section_CourseID": 5,
    "Section_GUID": "sample string 6",
    "Section_VimeoDuration": 7,
    "Section_VimeoBookmarkData": "sample string 8",
    "Section_GroupSubNames": "sample string 9",
    "Section_AudioFile": "sample string 10",
    "Section_Deactivate": 11,
    "BestScore": 12.0,
    "SectionFinished": true,
    "SectionStarted": true,
    "SectionNumberLocked": true
  }
]

text/html

Sample:
[{"Section_ID":1,"Section_Name":"sample string 2","Section_Description":"sample string 3","Section_VimeoID":"sample string 4","Section_CourseID":5,"Section_GUID":"sample string 6","Section_VimeoDuration":7,"Section_VimeoBookmarkData":"sample string 8","Section_GroupSubNames":"sample string 9","Section_AudioFile":"sample string 10","Section_Deactivate":11,"BestScore":12.0,"SectionFinished":true,"SectionStarted":true,"SectionNumberLocked":true},{"Section_ID":1,"Section_Name":"sample string 2","Section_Description":"sample string 3","Section_VimeoID":"sample string 4","Section_CourseID":5,"Section_GUID":"sample string 6","Section_VimeoDuration":7,"Section_VimeoBookmarkData":"sample string 8","Section_GroupSubNames":"sample string 9","Section_AudioFile":"sample string 10","Section_Deactivate":11,"BestScore":12.0,"SectionFinished":true,"SectionStarted":true,"SectionNumberLocked":true}]

application/xml, text/xml

Sample:
<ArrayOfCourseSections xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DBModels">
  <CourseSections>
    <BestScore>12</BestScore>
    <SectionFinished>true</SectionFinished>
    <SectionNumberLocked>true</SectionNumberLocked>
    <SectionStarted>true</SectionStarted>
    <Section_AudioFile>sample string 10</Section_AudioFile>
    <Section_CourseID>5</Section_CourseID>
    <Section_Deactivate>11</Section_Deactivate>
    <Section_Description>sample string 3</Section_Description>
    <Section_GUID>sample string 6</Section_GUID>
    <Section_GroupSubNames>sample string 9</Section_GroupSubNames>
    <Section_ID>1</Section_ID>
    <Section_Name>sample string 2</Section_Name>
    <Section_VimeoBookmarkData>sample string 8</Section_VimeoBookmarkData>
    <Section_VimeoDuration>7</Section_VimeoDuration>
    <Section_VimeoID>sample string 4</Section_VimeoID>
  </CourseSections>
  <CourseSections>
    <BestScore>12</BestScore>
    <SectionFinished>true</SectionFinished>
    <SectionNumberLocked>true</SectionNumberLocked>
    <SectionStarted>true</SectionStarted>
    <Section_AudioFile>sample string 10</Section_AudioFile>
    <Section_CourseID>5</Section_CourseID>
    <Section_Deactivate>11</Section_Deactivate>
    <Section_Description>sample string 3</Section_Description>
    <Section_GUID>sample string 6</Section_GUID>
    <Section_GroupSubNames>sample string 9</Section_GroupSubNames>
    <Section_ID>1</Section_ID>
    <Section_Name>sample string 2</Section_Name>
    <Section_VimeoBookmarkData>sample string 8</Section_VimeoBookmarkData>
    <Section_VimeoDuration>7</Section_VimeoDuration>
    <Section_VimeoID>sample string 4</Section_VimeoID>
  </CourseSections>
</ArrayOfCourseSections>