查询服务组排班详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
POST /services/group/scheduling/detail HTTP/1.1
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | object | 否 | 请求 Body。 | |
serviceGroupId | long | 是 | 服务组 ID。 | 9999 |
clientToken | string | 否 | 幂等号。 | C4BE3837-1A13-413B-A225-2C88188E8A43 |
返回参数
示例
正常返回示例
JSON
格式
{
"requestId": "xxxxxxxxxxxx",
"data": {
"schedulingWay": "FINE",
"serviceGroupId": 99999,
"fastScheduling": {
"singleDuration": 12,
"dutyPlan": "FAST_CHOICE",
"singleDurationUnit": "DAY",
"schedulingUsers": [
{
"schedulingUserId": 66666,
"schedulingOrder": 1,
"schedulingUserName": "张先生",
"schedulingUserIdList": [
66666
],
"schedulingObjectType": "single"
}
],
"id": 2222
},
"fineScheduling": {
"period": 0,
"id": 0,
"periodUnit": "DAY",
"shiftType": "MORNING_NIGHT",
"schedulingFineShifts": [
{
"schedulingStartTime": "2020-08-13",
"schedulingEndTime": "2020-10-13",
"schedulingOrder": 1,
"shiftName": "早班",
"cycleOrder": 1,
"schedulingUserId": 1111,
"skipOneDay": false,
"schedulingUserName": "刘德华",
"schedulingUserIdList": [
66666
],
"schedulingObjectType": "single"
}
],
"schedulingTemplateFineShifts": [
{
"schedulingStartTime": "2021-09-01 00:00:00",
"schedulingEndTime": "2021-10-01 00:00:00",
"schedulingOrder": 1,
"schedulingUserId": "1",
"skipOneDay": true,
"schedulingUserName": "刘德华",
"shiftName": "早班",
"schedulingUserIdList": [
66666
],
"schedulingObjectType": "single"
}
]
},
"users": [
{
"userId": 66666,
"userName": "用户名字"
}
]
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | ResourceNotFound | The specified Resource is not found. | 资源不存在 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史