Show / Hide Table of Contents

    AttendanceRecordingTemplate

    Type, Introduced in version 2.25

    A template describing the current recording options and requirements for the specified employee.

    Properties

    Name Type Summary Introduced in
    TimeStamp DateTimeOffset The timestamp the template was generated for.
    RecordingType Int32 The type of recording that is allowed at this point.

    • In: 0
    • Out: 1
    SheduleId Int64? The business key identifier of the schedule that would be used if recording at this time, references Schedules.
    RecordingDate DateTime The date the recording would belong to.
    Note that this date may differ from the date of the TimeStamp depending on schedule and recording rules.
    AbsencePeriods AbsencePeriod[] Represents absences that could or must be provided if recording where done at the time the template whas generated for. See AbsencePeriod
    AllowOvertime Boolean Indicates if it is allowed to record overtime.
    IsOutPreviousDay Boolean Indicator that marks that clock out was not done properly.
    It will not be possible to record at this time without first correcting the missing clock out.
    EmployeeId Int64 The business key identifier of the employee this template was generated for, references Persons.
    AllowChangeSchedule Boolean Indicates if changing schedule is possible for recording at this time.
    IsOutBreak Boolean Indicates if an out recording at this time would be a break recording.
    AllowAbsence Boolean Indicates if absence recording is permitted.
    ValidationType Int32 Indicates if the template is valid for recording and the reason if it is not.

    • Valid: 0
    • EmploymentPeriodMissing: 1
    • FutureRecordingsDetected: 2
    • RecordingSubjectNotAllowedToRecord: 3
    • RecordingSubjectBlocked: 4

    Example

    {
      "TimeStamp": "0001-01-01T00:00:00+00:00",
      "RecordingType": 0,
      "SheduleId": null,
      "RecordingDate": "0001-01-01T00:00:00",
      "AbsencePeriods": null,
      "AllowOvertime": false,
      "IsOutPreviousDay": false,
      "EmployeeId": 0,
      "AllowChangeSchedule": false,
      "IsOutBreak": false,
      "AllowAbsence": false,
      "ValidationType": 0
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB