POST AttendancesAPI/UpdateAttendancesMarkAttendance

Request Information

URI Parameters

None.

Body Parameters

Attendances
NameDescriptionTypeAdditional information
AttendanceID

integer

None.

AttendanceCode

string

None.

AttendanceSectionCode

string

None.

ClassDateStr

string

None.

EndTimeStr

string

None.

Note

string

None.

StartTimeStr

string

None.

PeopleID

integer

None.

pkCourseSectionID

integer

None.

FullName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AttendanceID": 1,
  "AttendanceCode": "sample string 2",
  "AttendanceSectionCode": "sample string 3",
  "ClassDateStr": "sample string 4",
  "EndTimeStr": "sample string 5",
  "Note": "sample string 6",
  "StartTimeStr": "sample string 7",
  "PeopleID": 8,
  "pkCourseSectionID": 9,
  "FullName": "sample string 10"
}

application/xml, text/xml

Sample:
<Attendances xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <AttendanceCode>sample string 2</AttendanceCode>
  <AttendanceID>1</AttendanceID>
  <AttendanceSectionCode>sample string 3</AttendanceSectionCode>
  <ClassDateStr>sample string 4</ClassDateStr>
  <EndTimeStr>sample string 5</EndTimeStr>
  <FullName>sample string 10</FullName>
  <Note>sample string 6</Note>
  <PeopleID>8</PeopleID>
  <StartTimeStr>sample string 7</StartTimeStr>
  <pkCourseSectionID>9</pkCourseSectionID>
</Attendances>

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

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>