POST api/StudentAttendance/insertRecord/QRCodeScan

Request Information

URI Parameters

None.

Body Parameters

AttendanceScan
NameDescriptionTypeAdditional information
AdmissionId

integer

None.

EmployeeId

integer

None.

OrganizationId

integer

None.

BranchId

integer

None.

AttendanceType

integer

None.

StudentAttendanceTimeRange

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AdmissionId": 1,
  "EmployeeId": 2,
  "OrganizationId": 3,
  "BranchId": 4,
  "AttendanceType": 5,
  "StudentAttendanceTimeRange": 6
}

application/xml, text/xml

Sample:
<StudentAttendanceController.AttendanceScan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Controllers">
  <AdmissionId>1</AdmissionId>
  <AttendanceType>5</AttendanceType>
  <BranchId>4</BranchId>
  <EmployeeId>2</EmployeeId>
  <OrganizationId>3</OrganizationId>
  <StudentAttendanceTimeRange>6</StudentAttendanceTimeRange>
</StudentAttendanceController.AttendanceScan>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>