HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
400 | 154000 | Bad request, please check your request body | 请求不合法,请检查参数 |
403 | 154003 | Please check you have the correct access | 检查是否申请正确权限 |
500 | 155000 | Internal error | 内部错误,请联系我们 |
curl --location --request POST 'https://open.feishu.cn/open-apis/helpdesk/v1/agent_schedules' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"agent_schedules": [
{
"agent_id": "agent-id",
"schedule": [
{
"start_time": "00:00",
"end_time": "24:00",
"weekday": 9
}
],
"agent_skill_ids": [
"test-skill-id"
]
}
]
}'
{
"code": 0,
"msg": "success",
"data": {}
}