Show / Hide Table of Contents

    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.

    • Mandatory
    • References PlannedAbsences
    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.

    • References AbsenceCodes
    Approved NotNullBooleanInput Specifies if the absence is approved.

    • Obsolete since version 24.7 (Use status instead. (True = Approved, False = Applied for))
    Status NotNullIntegerInput Specifies the absence status.

    • AppliedFor: 0
    • Approved: 1
    • Denied: 2
    Introduced in version 24.7

    Example

    {
      "PlannedAbsenceId": 0,
      "AbsenceFrom": null,
      "AbsenceTo": null,
      "AbsenceCodeId": null,
      "Approved": null,
      "Status": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB