timeOffItem resource type
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 a version of the timeOff.
Properties
Property | Type | Description |
---|---|---|
timeOffReasonId | string | ID of the timeOffReason for this timeOffItem. Required. |
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 . |
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 . |
theme | scheduleEntityTheme | Supported colors: white; blue; green; purple; pink; yellow; gray; darkBlue; darkGreen; darkPurple; darkPink; darkYellow. |
JSON representation
The following JSON representation shows the resource type.
{
"timeOffReasonId": "String",
"startDateTime": "String (timestamp)",
"endDateTime": "String (timestamp)",
"theme": {"@odata.type": "microsoft.graph.scheduleEntityTheme"}
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for