UpdatePlannedAbsence
Command, Introduced in version 2.47
POST https://localhost:8001/sv/001.1/api/v1/TimeRecording/Persons/UpdatePlannedAbsence
Updates a planned absence to the person.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the person.
The entity id of the response is the business key identifier of the updated planned absence.
Required permission
Modify person
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
PlannedAbsenceId | Int64 | The business key identifier of the planned absence.
|
|
AbsenceFrom | NotNullDateTimeInput | The start of the absence period. |
|
AbsenceTo | NotNullDateTimeInput | The end of the absence period. |
|
AbsenceCodeId | NotNullLongInput | The business key identifier of the absence code.
|
|
Approved | NotNullBooleanInput | Specifies if the absence is approved.
|
|
Status | NotNullIntegerInput | Specifies the absence status.
|
Introduced in version 24.7 |
Example
{
"PlannedAbsenceId": 0,
"AbsenceFrom": null,
"AbsenceTo": null,
"AbsenceCodeId": null,
"Approved": null,
"Status": null
}