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.

Represents a type of shift request to take timeoff.

Methods

Method Return Type Description
Get timeOffRequest Read the properties and relationships of a timeOffRequest object.
Update timeOffRequest Update 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 would look like this: '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 would look like this: '2014-01-01T00:00:00Z'
timeOffReasonId String The reason for the time off.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

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