GetServiceGroupSpecialPersonScheduling
Queries the service group schedule for a specified user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:GetServiceGroupSpecialPersonScheduling |
get |
*All Resource
|
None | None |
Request syntax
POST /services/group/scheduling/getUserScheduling HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| userId |
integer |
Yes |
The user ID. |
66666 |
| serviceGroupId |
integer |
No |
The service group ID. |
77777 |
| clientToken |
string |
No |
The idempotency token. |
C4BE3837-1A13-413B-A225-2C88188E8A43 |
{ "userId" : 66666, "serviceGroupId" : 77777, "clientToken" : "C4BE3837-1A13-413B-A225-2C88188E8A43", "startTime" : "2020-09-01 00:00:00", "endTime" : "2020-09-31 23:59:59" }
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The request ID. |
xxxxxx |
| data |
array<object> |
The user schedule information. |
|
|
object |
The schedule information. |
||
| schedulingStartTime |
string |
The start time of the schedule, in the YYYY-MM-DD HH:mm:ss format. |
2021-08-17 00:00:00 |
| schedulingEndTime |
string |
The end time of the schedule, in the YYYY-MM-DD HH:mm:ss format. |
2021-08-17 12:00:00 |
| schedulingDate |
string |
The date of the schedule, in the YYYY-MM-DD format. |
2021-08-17 |
| serviceGroupId |
integer |
The service group ID. |
8888 |
| serviceGroupName |
string |
The name of the service group. |
Snow Leopard Commando |
| schedulingUserId |
integer |
The ID of the scheduled user. |
111111 |
{ "requestId": "xxxxxx", "data": [ { "schedulingStartTime": "2021-08-17 00:00:00", "schedulingEndTime": "2021-08-17 12:00:00", "schedulingDate": "2021-08-17", "serviceGroupId": 8888, "serviceGroupName": "Snow Leopard Commando", "schedulingUserId": 111111 } ] }
Examples
Success response
JSON format
{
"requestId": "xxxxxx",
"data": [
{
"schedulingStartTime": "2021-08-17 00:00:00",
"schedulingEndTime": "2021-08-17 12:00:00",
"schedulingDate": "2021-08-17",
"serviceGroupId": 8888,
"serviceGroupName": "雪豹突击队",
"schedulingUserId": 111111
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.