[PATCH] /tables

[PATCH] /tables

/api/bpm/db/tables

Description

Within this endpoint a batch of locked tables can be unlocked. In the request body a list of table id's together with an action (unlock), which should be performed, have to be sended. For each table id, a status is returned. If the table was successfully unlocked, the value “unlocked” is returned, otherwise, “error” is returned.

When unlocking a non-existing table, the action is interpreted as successful.

Required Systemrole

R_WFADM_START (ID = 20)

Request
Method

PATCH

Response
Format

JSON

Minimum Version

1.2.0

Request
Example

{ "objects": [{ "id": "2A42437656884AB6A90171C07D8C3870", "action": "unlock" },{ "id": "8A5C400C277B499CA26ED17E67F84841", "action": "unlock" }] }

Result
Example

{ "objects": [{ "id": "2A42437656884AB6A90171C07D8C3870", "state": "unlocked" },{ "id": "8A5C400C277B499CA26ED17E67F84841", "state": "unlocked" }], "numItems": 2, "hasMoreItems": false, "totalNumItems": 2 }

Response Codes

  • 200 - Success: when a batch of tables was sent, the body should be checked for details.

  • 400 – Not found action: Returned if the specified action is invalid or not recognized (anything other than unlock).