English
Lock Object
About 141 wordsLess than 1 minute
2026-01-19
Description
Lock object
Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/object/lock?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| dataObjectApiName | String | Yes | Object's api_name |
| dataIds | List | Yes | List of data IDs |
| detailObjStrategy | Int | Yes | 0: unlock only current data object, 1: cascade unlock related subordinate objects (default: 1) |
Request Example
{
"data": {
"detailObjStrategy": 1,
"dataIds": [
"5e70e54e7c665b00018f6245"
],
"dataObjectApiName": ""
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | View 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;
