Show / Hide Table of Contents

    CreateAdditionRecording

    Command, Introduced in version 2.55

    POST https://localhost:8001/sv/001.1/api/v1/TimeRecording/RecordingDays/CreateAdditionRecording
    

    Creates an addition recording.

    Returns EntityCommandResponse

    The root entity id of the response is the business key identifier of the updated or created entity.

    The entity id of the response is the same as the root entity id.

    Required permission

    Adjust work
    

    Properties

    Name Type Summary Introduced in
    RecordingDayId Int64 The business key identifier of the recording day to add the addition to.

    • References RecordingDays
    AttendanceAdditionId Int64 The business key identifier for the attendance addition.

    • References AttendanceAdditions
    Amount Decimal The amount of addition.
    ProjectId Int64? The project id of the addition recording.
    Note: This property is only editable if the attendance addition's link to project is set to mandatory/optional.

    • References Projects
    Cost Decimal? The cost of the addition recording.
    Note: This property is only editable if the attendance addition's cost visibility is set to editable.

    • The cost of the attendance addition by default
    Introduced in version 24.9
    IntervalStart DateTimeOffset? The interval start of the addition recording.
    Note: This property is only editable if the attendance addition's enter from/to is set to true.
    IntervalEnd DateTimeOffset? The interval end of the addition recording.
    Note: This property is only editable if the attendance addition's enter from/to is set to true.
    TimeBankId Int64? The business key identifier for the time bank.

    • Obsolete since version 25.1 (No longer editable and will be ignored)
    • The time bank of the attendance addition by default
    • References TimeBanks
    Comment SetComment The comment of the addition recording.
    Note: This property is mandatory if the attendance addition's mandatory comment is set to true.

    Example

    {
      "RecordingDayId": 0,
      "AttendanceAdditionId": 0,
      "Amount": 0.0,
      "ProjectId": null,
      "Cost": null,
      "IntervalStart": null,
      "IntervalEnd": null,
      "TimeBankId": null,
      "Comment": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB