POST CourseSectionsAPI/AddCourseSection
Request Information
URI Parameters
None.
Body Parameters
CourseSections| Name | Description | Type | Additional information |
|---|---|---|---|
| pkCourseSectionID | integer |
None. |
|
| CourseSectionID | string |
None. |
|
| Instrument | string |
None. |
|
| InstrumentTypeID | integer |
None. |
|
| MaxStudents | integer |
None. |
|
| pkCourseID | integer |
None. |
|
| pkSemesterID | integer |
None. |
|
| CourseName | string |
None. |
|
| Department | string |
None. |
|
| CourseType | string |
None. |
|
| FullSectionNameStudent | string |
None. |
|
| FullSectionNameFaculty | string |
None. |
|
| NumStudents | integer |
None. |
|
| NumTeachers | integer |
None. |
|
| SemesterID | string |
None. |
|
| CourseID | string |
None. |
|
| NumSectionsToCreate | integer |
None. |
|
| FacultyList | string |
None. |
|
| CourseSectionSchedulingString | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"pkCourseSectionID": 1,
"CourseSectionID": "sample string 2",
"Instrument": "sample string 3",
"InstrumentTypeID": 4,
"MaxStudents": 5,
"pkCourseID": 6,
"pkSemesterID": 7,
"CourseName": "sample string 8",
"Department": "sample string 9",
"CourseType": "sample string 10",
"FullSectionNameStudent": "sample string 11",
"FullSectionNameFaculty": "sample string 12",
"NumStudents": 13,
"NumTeachers": 14,
"SemesterID": "sample string 15",
"CourseID": "sample string 16",
"NumSectionsToCreate": 17,
"FacultyList": "sample string 18",
"CourseSectionSchedulingString": "sample string 19"
}
application/xml, text/xml
Sample:
<CourseSections xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models"> <CourseID>sample string 16</CourseID> <CourseName>sample string 8</CourseName> <CourseSectionID>sample string 2</CourseSectionID> <CourseSectionSchedulingString>sample string 19</CourseSectionSchedulingString> <CourseType>sample string 10</CourseType> <Department>sample string 9</Department> <FacultyList>sample string 18</FacultyList> <FullSectionNameFaculty>sample string 12</FullSectionNameFaculty> <FullSectionNameStudent>sample string 11</FullSectionNameStudent> <Instrument>sample string 3</Instrument> <InstrumentTypeID>4</InstrumentTypeID> <MaxStudents>5</MaxStudents> <NumSectionsToCreate>17</NumSectionsToCreate> <NumStudents>13</NumStudents> <NumTeachers>14</NumTeachers> <SemesterID>sample string 15</SemesterID> <pkCourseID>6</pkCourseID> <pkCourseSectionID>1</pkCourseSectionID> <pkSemesterID>7</pkSemesterID> </CourseSections>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>