Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 2.48 KB

File metadata and controls

62 lines (50 loc) · 2.48 KB
title description author ms.localizationpriority ms.subservice doc_type
shiftItem resource type
A shiftItem represents a version of the shift.
aaku
medium
teams
resourcePageType

shiftItem resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Represents a version of a shift.

Properties

Property Type Description
notes string The shift notes for the shiftItem.
displayName string The shift label of the shiftItem.
startDateTime DateTimeOffset The start date and time for the shiftItem. 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. Required.
endDateTime DateTimeOffset The end date and time for the shiftItem. Required. 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.
theme scheduleEntityTheme Supported colors: white; blue; green; purple; pink; yellow; gray; darkBlue; darkGreen; darkPurple; darkPink; darkYellow.
activities shiftActivity collection An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required.

JSON representation

The following JSON representation shows the resource type.

{
  "displayName": "String",
  "notes": "String",
  "startDateTime": "String (timestamp)",
  "endDateTime": "String (timestamp)",
  "theme": "String",
  "activities": [{"@odata.type": "microsoft.graph.shiftActivity"}]
}