Upravit

Sdílet prostřednictvím


shiftsRoleDefinition resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

A definition for a single role in a schedule in the Shifts app in Teams.

Methods

Method Return type Description
Get shiftsRoleDefinition Read the properties and relationships of a shiftsRoleDefinition object.
Update shiftsRoleDefinition Create/Update the properties of a shiftsRoleDefinition object.

Properties

Property Type Description
description String The description of the role.
displayName String The display name of the role.
id String The ID of the role.
shiftsRolePermissions shiftsRolePermission collection The collection of role permissions within the role.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.shiftsRoleDefinition",
  "id": "String (identifier)",
  "description": "String",
  "displayName": "String",
  "shiftsRolePermissions": [
    {
      "@odata.type": "microsoft.graph.shiftsRolePermission"
    }
  ]
}