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.
|
|
AttendanceAdditionId | Int64 | The business key identifier for the attendance addition.
|
|
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.
|
|
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.
|
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.
|
|
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
}