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)"
}
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za