PlannedAbsences
Queryable, Introduced in version 2.47
GET https://localhost:8001/sv/001.1/api/v1/TimeRecording/PlannedAbsences
Represents a planned absence.
Change log
Changes to this entity are not recorded in the EntityChangeLog, so the GUID below cannot be used to filter EntityTypeId. It identifies this entity type where one is handed to you, for example in a ParentClass field. See Entity GUIDs for how the two uses differ.
40B7572C-2371-48EB-8009-4F9126EEC7CF
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.
|
|
| Status | Int32 | Specifies the absence status.
|
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"
}