What is the Node Approvers Add API?
Node Approvers Add API is used to add approvers to nodes.
API Version
API Version | Update Time | Version Description |
v1 | 2023/08/01 | Original API |
API Calling
This API is used to add approvers to nodes.
Request URL: https://api.jodoo.com/api/v1/workflow/task/add_sign
Request Frequency: 20 times/second
Request Method: POST
Request Parameters:
Parameter | Required | Type | Description |
instance_id | Yes | String | The instance ID of corresponding workflow instance. |
task_id | Yes | String | The task ID of the task that needs to add approvers. |
username | Yes | String | The username of the corresponding task that needs to add approvers. |
comment | No | String | Approval comment (an optional parameter). |
add_sign_type | Yes | Number | Adding type (0 for pre-approvers, 1 for post-approvers, 2 for parallel approvers). |
add_sign_username | Yes | String | Username of the approver to be added. |
Sample Request:
{ "instance_id": "64c72a03561073000755afd8", "task_id": "64c72a03561073000755b001", "username": "Jodoo-90ahnts5a6rh", "comment": "Approved", "add_sign_type": 1, "add_sign_username": "R-vmTE0o3N" }
Response Parameters:
Parameter | Type | Description |
status | String | success: indicating a successful API call
failure: indicating a failed API call (with the error code and its description) |
code | Number | Error code (return only for failure) |
message | String | Description of return code (return only for failure) |
Sample Response:
{ "status": "success" }
I have finished reading. 🏆
👉I can't wait to SET THE API.
👉I need more HELP in Discord Forum.