English
Approval Flow Task
About 144 wordsLess than 1 minute
2026-01-19
Description
Approval flow task
Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/special/object/approvalTask?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| taskId | String | Yes | Approval flow task ID (obtained from instanceDetail.tasks.id via Get Approval Flow Details API) |
| approvalResult | String | Yes | Action type: agree for approval, reject for rejection |
| opinion | String | Yes | Comment content |
Request Example
{
"data": {
"approvalResult": "agree",
"taskId": "taskId",
"opinion": "tongyi"
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error Codes |
Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}Notes
- Do not use the
messagefield in response for logical judgment aserrorMessagemay change;
