POST api/v{version}/Attendance/LoadStudentsToMarkV2

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

LoadAttendanceModelV2
NameDescriptionTypeAdditional information
Date

string

None.

TeacherId

string

None.

Rank

string

None.

AttendMode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Date": "sample string 1",
  "TeacherId": "sample string 2",
  "Rank": "sample string 3",
  "AttendMode": "sample string 4"
}

application/xml, text/xml

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

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

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>