ListShiftPersonnels

Updated at:

Queries on-duty engineers in a shift schedule.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ShiftScheduleIdentifier

string

Yes

The unique identifier of the shift schedule.

2ab6456ada634b2f938ee******9b45b

UserType

string

No

The type of the on-duty engineer that you want to query. Valid values: ALL, PRIMARY, BACKUP, and DESIGNATED_USER.

ALL

ShiftPersonUID

string

No

The Alibaba Cloud account ID. To view the ID, log on to the DataWorks console and hover over the profile picture in the upper-right corner.

1933790****551

BeginTime

integer

Yes

The start time of the shift, in UNIX timestamp format.

1593950832000

EndTime

integer

Yes

The end time of the shift, in UNIX timestamp format.

1593950832000

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID, which is used for troubleshooting.

0000-ABCD-EFG

Paging

object

The pagination information.

PageNumber

integer

The page number. Valid values: 1 to 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 returned.

100

ShiftPersons

array<object>

The on-duty engineers in the shift schedule.

object

The on-duty engineer in the shift schedule.

ShiftPersonUID

string

The UID of the on-duty engineer.

3726346****

ShiftPersonName

string

The name of the on-duty engineer.

Zhang San

BeginTime

integer

The start time of the shift.

1593950832000

EndTime

integer

The end time of the shift.

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.