編輯

共用方式為


schedulingGroup 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 logical grouping of users in a schedule (usually by role).

Methods

Method Return Type Description
Create schedulingGroup Create a new schedulingGroup.
List schedulingGroup collection Get the list of schedulingGroups in a schedule.
Get schedulingGroup Get a schedulingGroup by ID.
Replace schedulingGroup Replace a schedulingGroup.
Delete None Mark schedulingGroup as inactive.

Properties

Property Type Description
code string The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters.
createdDateTime DateTimeOffset The time stamp in which this schedulingGroup was first created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
displayName string The display name for the schedulingGroup. Required.
id string ID of the schedulingGroup.
isActive bool Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required.
lastModifiedBy identitySet The identity that last updated this schedulingGroup.
lastModifiedDateTime DateTimeOffset The time stamp in which this schedulingGroup was last updated. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
userIds collection(string) The list of user IDs that are a member of the schedulingGroup. Required.

JSON representation

The following JSON representation shows the resource type.

{
  "id": "string (identifier)",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "isActive": true,
  "userIds": ["String (identifier)"],
  "lastModifiedBy":{"@odata.type":"microsoft.graph.identitySet"},
  "code": "String"
}