[POST] .../v1/docaccountmovement/deletemark
Toggles deleted_mark for account transfer document. Use this method to toggle the deletion mark on an account transfer document before final deletion. The request requires the account movement delete-mark permission and the finance account movement tariff option; id is required, the document must exist, must not be posted and must not already be deleted. The method changes only deleted_mark and writes the delete-mark action log and webhook when the update succeeds. Business errors such as missing body, invalid id, denied access, disabled tariff option, document not found, already posted document, already deleted state, no affected row, database failures or action log failures are returned as HTTP 200 ErrorResult.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Required account movement document ID. |
Request Example
{
"id": 31
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1
}
}