English
Complete Tasks Initiated by Object Data
About 154 wordsLess than 1 minute
2026-01-19
Description
Complete tasks initiated by object data.
Request Specification
Method: POST + application/json
Endpoint: https://${cloud domain}/cgi/crm/v2/special/task/updateDataAndCompleteTask?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| taskId | String | Yes | Task instance ID |
| entityId | String | Yes | CRM object apiName |
| objectId | String | Yes | CRM object data ID |
| data | Map | No | Field values to modify |
Request Example
{
"data": {
"data": {
"field_9B1wt__c": 1600045915000,
"field_Dc51s__c": 1602637915000,
"field_xV3Zw__c": "646546546"
},
"entityId": "AccountObj",
"taskId": "5f68c4b68c0f3100014611e0",
"objectId": "5eb2d3ea909a7a000118db8"
}
}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 message field in the response for logical judgment as errorMessage may change;
