編輯

共用方式為


shiftPreferences 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.

Represents a user's availability to be assigned shifts in the schedule.

Methods

Method Return Type Description
Get shiftPreferences Read the properties and relationships of a shiftPreferences object.
Update shiftPreferences Update a shiftPreferences object.

Properties

Property Type Description
id Edm.String The identifier of the entity.
@odata.etag Edm.String The change key for the entity.
availability shiftAvailability collection Availability of the user to be scheduled for work and its recurrence pattern.
createdDateTime Edm.DateTimeOffset Timestamp corresponding to when the entity was created.
lastModifiedDateTime Edm.DateTimeOffset Timestamp corresponding to when the entity was last modified.
lastModifiedBy identitySet Identity of the person who last modified the entity.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "availability": [{"@odata.type": "microsoft.graph.shiftAvailability"}]
}