shiftPreferences resource type

Namespace: microsoft.graph


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.


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


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.



JSON representation

The following is a JSON representation of the resource.

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