Introduction to Attendance Mode

Attendance Mode is designed for the access control device to be used for time attendance. In this mode, access control functions are disabled. In addition, you can select attendance log types, such as input, output, interval, etc.

In Attendance Mode, access rules are disabled. In this configuration, if the user is registered in the device's database, he will have his attendance registered by identifying himself.

This operating mode can be used in two different ways:

  • Without attendance type customization.

  • With attendance type customization, in which the attendance type is fully customizable. In this case, the user must select the type he wants from the device menu when identifying himself.

Settings

To configure Attendance Mode, the following parameters are required:

Field Type Description
attendance_mode int Enables (1) or disables (0) Attendance Mode.
log_type int Determines whether it is possible (1) or not (0) to customize the attendance log types.

Examples of request

This request configures the Attendance Mode without attendance log type customization.

$.ajax({
    url: "/set_configuration.fcgi?session=" + session,
    type: 'POST',
    contentType: 'application/json',
    data: JSON.stringify(
        {
            "general": {
                "attendance_mode": "1"
            },
            "identifier" : {
                "log_type": "0"
            }
        }
    )
});

This request configures the Attendance Mode with attendance log type customization.

$.ajax({
    url: "/set_configuration.fcgi?session=" + session,
    type: 'POST',
    contentType: 'application/json',
    data: JSON.stringify(
        {
            "general": {
                "attendance_mode": "1"
            },
            "identifier" : {
                "log_type": "1"
            }
        }
    )
});