/ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=&format=json

Operations about the configuration of the attendance status and rule.

Request URI Definition

Table 1 GET /ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=&format=json

Method

GET

Description

Get the attendance status and rule.

Query

format: determine the format of request or response message.

attendanceStatus: attendance status, it can be set to one of the following values: "checkIn"-check in, "checkOut"-check out, "breakOut"-break out, "breakIn"-break in, "overtimeIn"-overtime in, "overtimeOut"-overtime out, e.g., /ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=checkIn&format=json.

Request

None.

Response

Succeeded: JSON_AttendanceStatusRuleCfg

Failed: JSON_ResponseStatus

Table 2 PUT /ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=&format=json

Method

PUT

Description

Set the attendance status and rule.

Query

format: determine the format of request or response message.

attendanceStatus: attendance status, it can be set to one of the following values: "checkIn"-check in, "checkOut"-check out, "breakOut"-break out, "breakIn"-break in, "overtimeIn"-overtime in, "overtimeOut"-overtime out, e.g., /ISAPI/AccessControl/attendanceStatusRuleCfg?attendanceStatus=checkIn&format=json.

Request

JSON_AttendanceStatusRuleCfg

Response

JSON_ResponseStatus