Perform

[POST] .../v1/doctechmap/perform

Posts document tech map. Use this method to post a technological map after its TechMapOperation rows describe the component composition and cost-share rules. Posting sets the document performed flag and makes the tech map available to production workflows; it requires production to be enabled, the document to be locked by the current user and the document item to match the tech map type. The document must contain operations, operation items must be simple items rather than assemblable or disassemblable products, no posted tech map may already exist for the same firm and item and the operation part_cost total must equal 100. The current request user must have tech map perform permission; missing body, invalid id, disabled production, denied access, lock conflicts, invalid item composition, duplicate posted tech maps, part-cost mismatch, 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
  }
}