The time and attendance refers to tracking and monitoring when employees
start and stop working, and working hours (including late arrivals, early departures, time
taken on breaks and absenteeism, etc.). You can set the manual or automatic time and
attendance mode, or disable the attendance mode. You can also set check in, check out, break
out, break in, overtime in, or overtime out to manually change the attendance status as
needed.
Figure 1 Programming Flow of Configuring Attendance Status
- Optional:
Call NET_DVR_STDXMLConfig to pass through the request URL: GET
/ISAPI/AccessControl/attendanceStatusModeCfg/capabilities?format=json
to get the configuration capability of the attendance mode and know the
supported attendance modes.
- Optional:
Call NET_DVR_STDXMLConfig to pass through the request URL:
GET
/ISAPI/AccessControl/attendanceStatusModeCfg?format=json to get the default or configured attendance mode
for reference.
-
Call NET_DVR_STDXMLConfig to pass through the request URL:
PUT
/ISAPI/AccessControl/attendanceStatusModeCfg?format=json and set lpInBuffer to the message JSON_AttendanceStatusModeCfg to configure the attendance mode.
- Optional:
Call NET_DVR_STDXMLConfig to pass through the request URL:
GET
/ISAPI/AccessControl/attendanceStatusRuleCfg/capabilities?format=json to get the configuration capability of the
attendance status and rule and know the supported attendance status and
rules.
- Optional:
Call NET_DVR_STDXMLConfig to pass through the request URL:
GET
/ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=&format=json to get the default or configured attendance
status and rule for reference.
-
Call NET_DVR_STDXMLConfig to pass through the request URL:
PUT
/ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=&format=json and set lpInBuffer to the message JSON_AttendanceStatusRuleCfg to configure the attendance status and
rule.
Call NET_DVR_Logout and NET_DVR_Cleanup to log out of the device and release the resources.