timeOffReason resource type
Namespace: microsoft.graph
Represents a valid reason to take time off in a schedule.
Methods
Method | Return Type | Description |
---|---|---|
List | timeOffReason collection | Get the list of timeOffReason in a schedule. |
Create | timeOffReason | Create a new timeOffReason. |
Get | timeOffReason | Get a timeOffReason by ID. |
Replace | timeOffReason | Replace a timeOffReason. |
Delete | None | Mark a timeOffReason as inactive. |
Properties
Property | Type | Description |
---|---|---|
createdDateTime | DateTimeOffset | The time stamp on which this timeOffReason was first created. 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 . |
displayName | String | The name of the timeOffReason. Required. |
iconType | timeOffReasonIconType | Supported icon types are: none , car , calendar, running , plane , firstAid , doctor , notWorking , clock , juryDuty , globe , cup , phone , weather , umbrella , piggyBank , dog , cake , trafficCone , pin , sunny . Required. |
id | String | Unique identifier for the time-off reason. |
isActive | Boolean | Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required. |
lastModifiedBy | identitySet | The identity that last updated this timeOffReason. |
lastModifiedDateTime | DateTimeOffset | The time stamp on which this timeOffReason was last updated. 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 . |
JSON representation
The following is a JSON representation of the resource.
{
"createdDateTime": "String (timestamp)",
"displayName": "String",
"iconType": "String",
"id": "String (identifier)",
"isActive": "Boolean",
"lastModifiedBy": { "@odata.type":"microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)"
}
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應