Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Namespace: microsoft.graph
Important
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 an activity in a shift.
Properties
| Property | Type | Description |
|---|---|---|
| isPaid | bool |
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 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 shiftActivity. 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. |
| code | string |
Customer defined code for the shiftActivity. Required. |
| displayName | string |
The name of the shiftActivity. Required. |
| theme | scheduleEntityTheme |
The color of the activity. The possible values are: white, blue, green, purple, pink, yellow, gray, darkBlue, darkGreen, darkPurple, darkPink, darkYellow, unknownFutureValue, darkRed, cranberry, darkOrange, bronze, peach, gold, lime, forest, lightGreen, jade, lightTeal, darkTeal, steel, skyBlue, blueGray, lavender, lilac, plum, magenta, darkBrown, beige, charcoal, silver. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: darkRed, cranberry, darkOrange, bronze, peach, gold, lime, forest, lightGreen, jade, lightTeal, darkTeal, steel, skyBlue, blueGray, lavender, lilac, plum, magenta, darkBrown, beige, charcoal, silver. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"isPaid": true,
"startDateTime": "2019-03-11T15:00:00Z",
"endDateTime": "2019-03-11T15:15:00Z",
"code": "",
"displayName": "Lunch",
"theme": "white"
}