Submit a Task for Approval
Use this API to submit a specified task for approval.
Request URL: /openapi/v1/workflow/submitForApproval
HTTP method: POST
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workflowId | String | Yes | Task ID. | st-dd46vm7divwx |
Response parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request was successful. | true |
| errorCode | String | Error code. | N/A |
| message | String | Error message. | N/A |
Successful response example
{
"success": true
}