POST GradeSessionsAPI/UpdateGradeSessionsReleaseToStudents

Request Information

URI Parameters

None.

Body Parameters

GradeSessions
NameDescriptionTypeAdditional information
GradeSessionID

integer

None.

Active

boolean

None.

GradesDueDate

date

None.

GradesDueDateStr

string

None.

GradeSessionName

string

None.

pkSemesterID

integer

None.

ReleaseToStudents

boolean

None.

SemesterID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GradeSessionID": 1,
  "Active": true,
  "GradesDueDate": "2021-01-23T18:54:11.6576136+00:00",
  "GradesDueDateStr": "sample string 4",
  "GradeSessionName": "sample string 5",
  "pkSemesterID": 6,
  "ReleaseToStudents": true,
  "SemesterID": "sample string 8"
}

application/xml, text/xml

Sample:
<GradeSessions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <Active>true</Active>
  <GradeSessionID>1</GradeSessionID>
  <GradeSessionName>sample string 5</GradeSessionName>
  <GradesDueDate>2021-01-23T18:54:11.6576136+00:00</GradesDueDate>
  <GradesDueDateStr>sample string 4</GradesDueDateStr>
  <ReleaseToStudents>true</ReleaseToStudents>
  <SemesterID>sample string 8</SemesterID>
  <pkSemesterID>6</pkSemesterID>
</GradeSessions>

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

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>