Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Represents a version of the timeOff.
Properties
| Property | Type | Description |
|---|---|---|
| endDateTime | DateTimeOffset | The end date and time for the timeOffItem. 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. |
| startDateTime | DateTimeOffset | The start date and time for the timeOffItem. 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 | The color of the time off. 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. |
| timeOffReasonId | string | ID of the timeOffReason for this timeOffItem. Required. |
JSON representation
The following JSON representation shows the resource type.
{
"timeOffReasonId": "String",
"startDateTime": "String (timestamp)",
"endDateTime": "String (timestamp)",
"theme": "pink"
}