Unlock

[POST] .../v1/doctechmap/unlock

Unlocks document tech map for editing. Use this method after editing a technological map document and its TechMapOperation rows to release the edit lock. The request body must contain a positive document id, and the response returns row_affected for the unlock state change. Production must be enabled, and the current request user must have tech map unlock permission. Missing body, invalid id, disabled production, denied access, unavailable tariff, missing locks, storage failures, or lock-service errors 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
  }
}