POST api/StaffSelfAttendance/AddAttendanceLogs
Request Information
URI Parameters
None.
Body Parameters
StaffLogRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InstituteId | integer |
None. |
|
| Logs | Collection of GLogInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"InstituteId": 1,
"Logs": [
{
"Enroll": 1,
"Machine": 2,
"VerifyMode": "sample string 3",
"LogTime": "sample string 4"
},
{
"Enroll": 1,
"Machine": 2,
"VerifyMode": "sample string 3",
"LogTime": "sample string 4"
}
]
}
text/html
Sample:
{"InstituteId":1,"Logs":[{"Enroll":1,"Machine":2,"VerifyMode":"sample string 3","LogTime":"sample string 4"},{"Enroll":1,"Machine":2,"VerifyMode":"sample string 3","LogTime":"sample string 4"}]}
application/xml, text/xml
Sample:
<StaffSelfAttendanceModel.StaffLogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Models">
<InstituteId>1</InstituteId>
<Logs>
<StaffSelfAttendanceModel.GLogInfo>
<Enroll>1</Enroll>
<LogTime>sample string 4</LogTime>
<Machine>2</Machine>
<VerifyMode>sample string 3</VerifyMode>
</StaffSelfAttendanceModel.GLogInfo>
<StaffSelfAttendanceModel.GLogInfo>
<Enroll>1</Enroll>
<LogTime>sample string 4</LogTime>
<Machine>2</Machine>
<VerifyMode>sample string 3</VerifyMode>
</StaffSelfAttendanceModel.GLogInfo>
</Logs>
</StaffSelfAttendanceModel.StaffLogRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.