简体中文
设置企信状态为请假
约 222 字小于 1 分钟
2026-01-16
描述
设置企信状态为请假
请求说明
请求方式:POST + application/json
请求路径:https://${填入所在云的域名}/cgi/crm/v2/special/workState/addVacation?thirdTraceId=${随机字符串}
请求头填写 :参考公共参数填写
请求参数
| 参数 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| data | Map | 是 | 数据集 |
| businessId | String | 是 | businessId |
| type | Int | 是 | type |
| beginTime | Long | 是 | 开始时间(毫秒时间戳) |
| endTime | Long | 是 | 结束时间(毫秒时间戳) |
请求示例
{
"data": {
"businessId": "businessId",
"beginTime": 1605583800000,
"endTime": 1605583800000,
"type": 1
}
}返回参数
| 参数 | 类型 | 说明 |
|---|---|---|
| traceId | string | 请求唯一ID |
| errorDescription | string | 错误描述 |
| errorMessage | string | 错误信息 |
| errorCode | Int | 查看错误码 |
返回示例
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}注意事项
- 不能使用返回值的message字段做逻辑判断,errorMessage会有变化;
