English
Create Preset Object
About 189 wordsLess than 1 minute
2026-01-19
Not recommended to continue using offline APIs!!!
Description
Create a preset object
Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/data/changeOwner?thirdTraceId=${Random String}
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| corpAccessToken | String | Yes | corpAccessToken (returned via Get Token API) |
| corpId | String | Yes | corpId (returned via Get Token API) |
| currentOpenUserId | String | Yes | currentOpenUserId (returned via Query Employee by Phone API) |
| data | Map | Yes | Data Map |
| dataObjectApiName | String | Yes | Object apiName |
| Data | List | No | Array containing objects (Owner information includes: objectDataId as data ID, ownerId as owner ID) |
Request Example
{
"corpAccessToken": "{corpAccessToken}",
"currentOpenUserId": "{currentOpenUserId}",
"corpId": "{corpId}",
"data": {
"Data": [
{
"objectDataId": "88888888",
"ownerId": "[FSUID_xx1]"
}
],
"dataObjectApiName": "CampaignMembersObj"
}
}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;
