ListShiftPersonnels
Retrieves the list of on-duty personnel for a shift schedule.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ShiftScheduleIdentifier |
string |
Yes |
The unique identifier of the shift schedule. |
2ab6456ada634b2f938ee******9b45b |
| UserType |
string |
No |
The query condition for on-duty personnel. Valid values:
Valid values:
|
ALL |
| ShiftPersonUID |
string |
No |
The Alibaba Cloud account ID. You can log on to the DataWorks console and move the pointer over the profile picture in the upper-right corner to view the account ID. |
1933790****551 |
| BeginTime |
integer |
Yes |
The start time of the on-duty period. This value is a timestamp. |
1593950832000 |
| EndTime |
integer |
Yes |
The end time of the on-duty period. This value is a timestamp. |
1593950832000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| RequestId |
string |
The request ID. You can use this ID to troubleshoot issues. |
0000-ABCD-EFG |
| Paging |
object |
The pagination result. |
|
| PageNumber |
integer |
The page number. Minimum value: 1. Maximum value: 100. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Default value: 10. Maximum value: 100. |
10 |
| TotalCount |
integer |
The total number of entries that meet the conditions. |
100 |
| ShiftPersons |
array<object> |
The list of on-duty personnel. |
|
|
object |
The on-duty person. |
||
| ShiftPersonUID |
string |
The UID of the on-duty person. |
3726346**** |
| ShiftPersonName |
string |
The name of the on-duty person. |
Zhang San |
| BeginTime |
integer |
The start time of the on-duty cycle. The value is a 13-digit timestamp, for example, |
1593950832000 |
| EndTime |
integer |
The end time of the on-duty cycle. The value is a 13-digit timestamp, for example, |
1593950832000 |
Examples
Success response
JSON format
{
"RequestId": "0000-ABCD-EFG",
"Paging": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"ShiftPersons": [
{
"ShiftPersonUID": "3726346****",
"ShiftPersonName": "Zhang San",
"BeginTime": 1593950832000,
"EndTime": 1593950832000
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.