ListShiftPersonnels

Updated at:

Retrieves the list of on-call personnel for 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. You can call the ListShiftSchedules operation to query existing shift schedules and obtain a valid ShiftScheduleIdentifier from the response.

2ab6456ada634b2f938ee******9b45b

UserType

string

No

The query condition for on-call personnel. Valid values: ALL (all on-call personnel), PRIMARY (primary on-call personnel), BACKUP (backup on-call personnel), and DESIGNATED_USER (designated user).

Valid values:

  • ALL :

    All on-call personnel.

  • BACKUP :

    Backup on-call personnel.

  • DESIGNATED_USER :

    Designated user.

  • PRIMARY :

    Primary on-call personnel.

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 of the top menu bar to view the account ID.

1933790****551

BeginTime

integer

Yes

The start time of the on-call shift. The value is a timestamp.

1593950832000

EndTime

integer

Yes

The end time of the on-call shift. The 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 when errors occur.

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 query conditions.

100

ShiftPersons

array<object>

The list of on-call personnel.

object

The on-call personnel.

ShiftPersonUID

string

The UID of the on-call person.

3726346****

ShiftPersonName

string

The name of the on-call person.

Zhang San

BeginTime

integer

The start time of the on-call cycle.

The value is a 13-digit timestamp, such as 1593950832000.

1593950832000

EndTime

integer

The end time of the on-call cycle.

The value is a 13-digit timestamp, such as 1593950832000.

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.