shiftActivity resource type

Namespace: microsoft.graph

Represents an activity in a shift.

Properties

Property Type Description
code String Customer defined code for the shiftActivity. Required.
displayName String The name of the shiftActivity. Required.
endDateTime DateTimeOffset The end date and time for the shiftActivity. 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. Required.
isPaid Boolean Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required.
startDateTime DateTimeOffset The start date and time for the shiftActivity. 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. Required.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.shiftActivity",
  "code": "String",
  "displayName": "String",
  "endDateTime": "String (timestamp)",
  "isPaid": "Boolean",
  "startDateTime": "String (timestamp)",
  "theme": "String"
}