openShift resource type

Namespace: microsoft.graph

Represents an unassigned, open shift in a schedule.

Inherits from changeTrackedEntity.

Methods

Method Return Type Description
List Collection of openShift List the properties and relationships of openShift objects in a team.
Create openShift Create an instance of an openShift object.
Get openShift Read the properties and relationships of an openShift object.
Update openShift Update an openShift object.
Delete None Delete an openShift object.
Stage for deletion None Stage the deletion of an openShift instance in a schedule in draft mode.

Properties

Property Type Description
createdDateTime DateTimeOffset Date and time when the openShift was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Inherited from changeTrackedEntity.
draftOpenShift openShiftItem Draft changes in the openShift are only visible to managers until they're shared.
id String Unique identifier for the openShift object. Read-only. Inherited from changeTrackedEntity.
isStagedForDeletion Boolean The openShift is marked for deletion, a process that is finalized when the schedule is shared.
lastModifiedBy identitySet Identity of the user who last modified the openShift object. Inherited from changeTrackedEntity.
lastModifiedDateTime DateTimeOffset Date and time when the openShift was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Inherited from changeTrackedEntity.
schedulingGroupId String The ID of the schedulingGroup that contains the openShift.
sharedOpenShift openShiftItem The shared version of this openShift that is viewable by both employees and managers.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.openShift",
  "createdDateTime": "String (timestamp)",
  "draftOpenShift": {"@odata.type": "microsoft.graph.openShiftItem"},
  "id": "String (identifier)",
  "isStagedForDeletion": "Boolean",
  "lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
  "lastModifiedDateTime": "String (timestamp)",
  "schedulingGroupId": "String",
  "sharedOpenShift": {"@odata.type": "microsoft.graph.openShiftItem"}
}