Show / Hide Table of Contents

    PlannedAbsences

    Queryable, Introduced in version 2.47

    GET https://localhost:8001/sv/001.1/api/v1/TimeRecording/PlannedAbsences
    

    Represents a planned absence.

    GUID

    C065ACFA-57F8-4397-BFBB-F33E56B24750
    

    Required permission

    Show person
    

    Properties

    Name Type Summary Introduced in
    Id Int64 The business key identifier of the planned absence.
    PersonId Int64 The business key identifier of the person.
    References(Person)
    AbsenceFrom DateTimeOffset The start of the absence period.
    AbsenceTo DateTimeOffset The end of the absence period.
    AbsenceCodeId Int64 The business key identifier of the absence code.
    References(AbsenceCode)
    PartOfDay Boolean Specifies if the absence is part of a day.
    Approved Boolean Specifies if the absence is approved.

    • Obsolete since version 24.7 (Use status instead. (Returns true if status is approved else returns false))
    Status Int32 Specifies the absence status.

    • AppliedFor: 0
    • Approved: 1
    • Denied: 2
    Introduced in version 24.7
    AbsenceDuration TimeSpan The absence duration of the planned absence.
    AttendanceDuration TimeSpan The attendance duration of the planned absence.

    Example

    {
      "Id": 0,
      "PersonId": 0,
      "AbsenceFrom": "0001-01-01T00:00:00+00:00",
      "AbsenceTo": "0001-01-01T00:00:00+00:00",
      "AbsenceCodeId": 0,
      "PartOfDay": false,
      "Approved": false,
      "Status": 0,
      "AbsenceDuration": "00:00:00",
      "AttendanceDuration": "00:00:00"
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB