PerformCancel

[POST] .../v1/doctechmap/performcancel

Cancels posting of document tech map. Use this destructive workflow method to cancel posting of a technological map when it should no longer be available as an approved production recipe. Cancellation clears the document performed flag; production must be enabled and the document must be locked by the current user. The current request user must have tech map perform-cancel permission and the response returns row_affected for the changed posting state. Missing body, invalid id, disabled production, denied access, unavailable tariff, lock conflicts, missing documents, no affected rows, database failures or webhook failures are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required Tech map document ID.

Request Example

{
  "id": 7301
}

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
  }
}