Delete Obsolete Customer Service Session Objects
# Description
Delete obsolete customer service session objects.
# Request Specification
Request Method: POST + application/json
Request Path: https://${Cloud Domain}/cgi/crm/v2/data/delete?thirdTraceId=${Random String}
Request Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| idList | List | Yes | List of data IDs (Data must be marked as obsolete before deletion. Price list details can be deleted directly) |
| dataObjectApiName | String | Yes | Object API name, fixed value: CustomerServiceSessionObj |
# Request Example
{
"data": {
"idList": [],
"dataObjectApiName": "CustomerServiceSessionObj"
},
}
# 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
messagefield in the response for logical judgments, aserrorMessagemay change.