timeOffRequest 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 type of shift request to take timeOff.

Methods

Method Return type Description
List timeOffRequest collection Get the list of timeOffRequest objects in this schedule.
Get timeOffRequest Read the properties and relationships of a timeOffRequest object.
Delete None Delete a timeOffRequest object.
Approve None Approve a time off request.
Decline None Decline a time off request.

Properties

Property Type Description
endDateTime DateTimeOffset 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 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
timeOffReasonId String The reason for the time off.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "endDateTime": "String (timestamp)",
  "startDateTime": "String (timestamp)",
  "timeOffReasonId": "String"
}