English
Update Expense Verification Object Information
About 310 wordsAbout 1 min
2026-10-23
Description
Update Expense Verification Object Information.
Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/data/update?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| triggerApprovalFlow | Boolean | No | Whether to trigger the approval flow (defaults to true if not provided, meaning triggered). This parameter applies to all objects |
| triggerWorkFlow | Boolean | No | Whether to trigger the workflow (defaults to true if not provided, meaning triggered). This parameter applies to all objects |
| data | Map | Yes | Data map |
| object_data | Map | Yes | Object data (corresponds to the fields of the object description in CRM admin) |
| dataObjectApiName | String | Yes | Object api_name, fixed value: TPMDealerActivityCostObj |
| _id | String | Yes | ID of the data to update |
| details | Map | No | Detail object data (key is the apiName, value is a data Map) |
| igonreMediaIdConvert | Boolean | No | File path type: pass true when the path is npath (starting with N_); otherwise false; defaults to true if not provided |
| optionInfo | Map | No | Validation options |
| skipFuncValidate | Boolean | No | Skip pre-function validation |
| useValidationRule | Boolean | No | Whether to trigger validation rules |
| isDuplicateSearch | Boolean | No | Whether to trigger duplicate check |
Request Example
{
"triggerApprovalFlow": true,
"triggerWorkFlow": true,
"data": {
"object_data": {
"dataObjectApiName": "TPMDealerActivityCostObj",
"_id": "hello"
},
"details": {
"api_name": [
{
"_id": "88888888",
"name": "modify"
}
]
},
"igonreMediaIdConvert": false,
"optionInfo": {
"skipFuncValidate": true,
"useValidationRule": true,
"isDuplicateSearch": true
}
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| dataId | String | Data ID |
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error Codes |
Response Example
{
"dataId": "68faxxxxxx",
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}Notes
- Do not use the
messagefield in the response for logical judgments, aserrorMessagemay change.
