Update
Command, Introduced in version 24.8
POST https://localhost:8001/sv/001.1/api/v1/Accounting/AllocationKeys/Update
Updates an allocation key.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the updated allocation key.
The entity id of the response is the same as the root entity id.
Required permission
Modify allocation keys
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
Id | Int64 | The business key identifier of the allocation key.
|
|
Name | StringInput | The name of the allocation key.
|
|
ResultRows | AddAllocationKeyResultRow[] | Specifies a new allocation for the allocation key. The total percentage of result rows has to equal 100. |
|
UpdateAutoAllocations | Boolean | Specifies whether to update auto allocations belongs to this allocation key. |
Example
{
"Id": 0,
"Name": null,
"ResultRows": null,
"UpdateAutoAllocations": false
}