openShiftItem resource type
Namespace: microsoft.graph
Represents a single count of an openShift.
Inherits from shiftItem.
Properties
Property | Type | Description |
---|---|---|
activities | shiftActivity collection | An incremental part of a shift that can cover details of when and where an employee is during their shift. For example, an assignment, a scheduled break, or lunch. Required. Inherited from shiftItem. |
displayName | String | The shift label of the openShift. Inherited from shiftItem. |
endDateTime | DateTimeOffset | The end date and time for the openShift. Required. 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 shiftItem. |
notes | String | The shift notes for the openShift. Inherited from shiftItem. |
openSlotCount | Int32 | Count of the number of slots for the given open shift. |
startDateTime | DateTimeOffset | The start date and time for the openShift. Required. 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 shiftItem. |
theme | scheduleEntityTheme | The color of the open shift. Possible values are: white , blue , green , purple , pink , yellow , gray , darkBlue , darkGreen , darkPurple , darkPink , darkYellow , unknownFutureValue . Inherited from shiftItem. |
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.openShiftItem",
"activities": [{"@odata.type": "microsoft.graph.shiftActivity"}],
"displayName": "String",
"endDateTime": "String (timestamp)",
"notes": "String",
"openSlotCount": "Int32",
"startDateTime": "String (timestamp)",
"theme": "String"
}