[POST] .../v1/techmapoperation/delete
Deletes tech map operation. Use this destructive method to delete one or more component rows from a technological map before the parent document is posted. The request body is a JSON array batch and every item must contain a positive operation id; the persistent layer verifies that the parent document exists, is unposted, is not deleted and is locked by the current user. Production must be enabled and the current request user must have tech map operation delete permission; the response returns row_affected and ids for deleted rows. Null, empty or oversized arrays, invalid ids, disabled production, denied access, lock conflicts, posted documents, missing operations, no affected rows and storage failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Tech map operation ID to delete. |
Request Example
[
{
"id": 8301
}
]
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,
"ids": [
8301
]
}
}