Set Work Status to Revoke Leave
# Description
Sets the work status to "Revoke Leave" in the enterprise messaging system.
# Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/special/workState/revokeVacation?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data set |
| businessId | String | Yes | Business identifier |
# Request Example
{
"data": {
"businessId": "businessId"
}
}
# 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.