POST api/v{version}/Attendance/Mark

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

MarkAttendanceModel
NameDescriptionTypeAdditional information
Attendance

string

None.

CourseId

string

None.

Date

string

None.

Dayid

string

None.

SlotId

string

None.

Subjectid

string

None.

Teacherid

string

None.

BatchId

string

None.

ClassPhoto

string

None.

Lati

string

None.

Longi

string

None.

TimetableId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Attendance": "sample string 1",
  "CourseId": "sample string 2",
  "Date": "sample string 3",
  "Dayid": "sample string 4",
  "SlotId": "sample string 5",
  "Subjectid": "sample string 6",
  "Teacherid": "sample string 7",
  "BatchId": "sample string 8",
  "ClassPhoto": "sample string 9",
  "Lati": "sample string 10",
  "Longi": "sample string 11",
  "TimetableId": "sample string 12"
}

application/xml, text/xml

Sample:
<MarkAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Attendance>sample string 1</Attendance>
  <BatchId>sample string 8</BatchId>
  <ClassPhoto>sample string 9</ClassPhoto>
  <CourseId>sample string 2</CourseId>
  <Date>sample string 3</Date>
  <Dayid>sample string 4</Dayid>
  <Lati>sample string 10</Lati>
  <Longi>sample string 11</Longi>
  <SlotId>sample string 5</SlotId>
  <Subjectid>sample string 6</Subjectid>
  <Teacherid>sample string 7</Teacherid>
  <TimetableId>sample string 12</TimetableId>
</MarkAttendanceModel>

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

Response Information

Resource Description

MarkAttendanceModel
NameDescriptionTypeAdditional information
Attendance

string

None.

CourseId

string

None.

Date

string

None.

Dayid

string

None.

SlotId

string

None.

Subjectid

string

None.

Teacherid

string

None.

BatchId

string

None.

ClassPhoto

string

None.

Lati

string

None.

Longi

string

None.

TimetableId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Attendance": "sample string 1",
  "CourseId": "sample string 2",
  "Date": "sample string 3",
  "Dayid": "sample string 4",
  "SlotId": "sample string 5",
  "Subjectid": "sample string 6",
  "Teacherid": "sample string 7",
  "BatchId": "sample string 8",
  "ClassPhoto": "sample string 9",
  "Lati": "sample string 10",
  "Longi": "sample string 11",
  "TimetableId": "sample string 12"
}

application/xml, text/xml

Sample:
<MarkAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Attendance>sample string 1</Attendance>
  <BatchId>sample string 8</BatchId>
  <ClassPhoto>sample string 9</ClassPhoto>
  <CourseId>sample string 2</CourseId>
  <Date>sample string 3</Date>
  <Dayid>sample string 4</Dayid>
  <Lati>sample string 10</Lati>
  <Longi>sample string 11</Longi>
  <SlotId>sample string 5</SlotId>
  <Subjectid>sample string 6</Subjectid>
  <Teacherid>sample string 7</Teacherid>
  <TimetableId>sample string 12</TimetableId>
</MarkAttendanceModel>