Invalidate ERP Object
# Not recommended to continue using deprecated interfaces!!!
# Description
Invalidate an ERP object.
# Request Specification
Method: POST + application/json
Endpoint: https://${cloud-domain}/cgi/crm/erp/data/invalid?thirdTraceId=${Random String}
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| corpAccessToken | String | Yes | Enterprise app access token |
| corpId | String | Yes | Enterprise ID |
| currentOpenUserId | String | Yes | Current operator's OpenUserID |
| data | Map | Yes | Data map |
| data.object_data_id | String | Yes | Data ID |
| data.dataObjectApiName | String | Yes | API name of the object |
# Request Example
{
"corpAccessToken": "CORP_ACCESS_TOKEN",
"corpId": "CORP_ID",
"currentOpenUserId": "FSUID_XXXXXX",
"data": {
"object_data_id":"5a9ce894f125ae9befxxxxxx",
"dataObjectApiName": "ErpStockObj"
}
}
# Response Parameters
| Parameter | Required | Description |
|---|---|---|
| errorCode | Yes | Return code |
| errorMessage | Yes | Text description of return code |
# Response Example
{
"errorCode":0,
"errorMessage":"success"
}
# Notes
- Do not use the message field in the response for logical judgment, as errorMessage may change;