POST CourseSectionPeoplesAPI/UpdateCourseSectionPeople

Request Information

URI Parameters

None.

Body Parameters

CourseSectionPeoples
NameDescriptionTypeAdditional information
CourseSectionPeopleID

integer

None.

PeopleID

integer

None.

SectionRole

string

None.

pkCourseSectionID

integer

None.

CourseDescription

string

None.

CourseFullName

string

None.

CourseID

string

None.

FullName

string

None.

LastName

string

None.

FirstName

string

None.

Email

string

None.

Notes

string

None.

PrimaryPhone

string

None.

QMAID

string

None.

Programme

string

None.

pkSemesterID

integer

None.

pkCourseID

integer

None.

PrimarySchoolRole

string

None.

FullNameIndStudent

string

None.

GradeSessionName

string

None.

FacultyList

string

None.

Nationality

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseSectionPeopleID": 1,
  "PeopleID": 2,
  "SectionRole": "sample string 3",
  "pkCourseSectionID": 4,
  "CourseDescription": "sample string 5",
  "CourseFullName": "sample string 6",
  "CourseID": "sample string 7",
  "FullName": "sample string 8",
  "LastName": "sample string 9",
  "FirstName": "sample string 10",
  "Email": "sample string 11",
  "Notes": "sample string 12",
  "PrimaryPhone": "sample string 13",
  "QMAID": "sample string 14",
  "Programme": "sample string 15",
  "pkSemesterID": 16,
  "pkCourseID": 17,
  "PrimarySchoolRole": "sample string 18",
  "FullNameIndStudent": "sample string 19",
  "GradeSessionName": "sample string 20",
  "FacultyList": "sample string 21",
  "Nationality": "sample string 22"
}

application/xml, text/xml

Sample:
<CourseSectionPeoples xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <CourseDescription>sample string 5</CourseDescription>
  <CourseFullName>sample string 6</CourseFullName>
  <CourseID>sample string 7</CourseID>
  <CourseSectionPeopleID>1</CourseSectionPeopleID>
  <Email>sample string 11</Email>
  <FacultyList>sample string 21</FacultyList>
  <FirstName>sample string 10</FirstName>
  <FullName>sample string 8</FullName>
  <FullNameIndStudent>sample string 19</FullNameIndStudent>
  <GradeSessionName>sample string 20</GradeSessionName>
  <LastName>sample string 9</LastName>
  <Nationality>sample string 22</Nationality>
  <Notes>sample string 12</Notes>
  <PeopleID>2</PeopleID>
  <PrimaryPhone>sample string 13</PrimaryPhone>
  <PrimarySchoolRole>sample string 18</PrimarySchoolRole>
  <Programme>sample string 15</Programme>
  <QMAID>sample string 14</QMAID>
  <SectionRole>sample string 3</SectionRole>
  <pkCourseID>17</pkCourseID>
  <pkCourseSectionID>4</pkCourseSectionID>
  <pkSemesterID>16</pkSemesterID>
</CourseSectionPeoples>

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 'CourseSectionPeoples'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>