POST api/v{version}/Attendance/LoadStudentsToMark

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

LoadAttendanceModel
NameDescriptionTypeAdditional information
Date

string

None.

TeacherId

string

None.

SlotId

string

None.

BatchId

string

None.

SubjectId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Date": "sample string 1",
  "TeacherId": "sample string 2",
  "SlotId": "sample string 3",
  "BatchId": "sample string 4",
  "SubjectId": "sample string 5"
}

application/xml, text/xml

Sample:
<LoadAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <BatchId>sample string 4</BatchId>
  <Date>sample string 1</Date>
  <SlotId>sample string 3</SlotId>
  <SubjectId>sample string 5</SubjectId>
  <TeacherId>sample string 2</TeacherId>
</LoadAttendanceModel>

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

Response Information

Resource Description

LoadAttendanceModel
NameDescriptionTypeAdditional information
Date

string

None.

TeacherId

string

None.

SlotId

string

None.

BatchId

string

None.

SubjectId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Date": "sample string 1",
  "TeacherId": "sample string 2",
  "SlotId": "sample string 3",
  "BatchId": "sample string 4",
  "SubjectId": "sample string 5"
}

application/xml, text/xml

Sample:
<LoadAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <BatchId>sample string 4</BatchId>
  <Date>sample string 1</Date>
  <SlotId>sample string 3</SlotId>
  <SubjectId>sample string 5</SubjectId>
  <TeacherId>sample string 2</TeacherId>
</LoadAttendanceModel>