編輯

共用方式為


timeOffRequest resource type

Namespace: microsoft.graph

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.
List timeOffRequest collection Get the list of timeOffRequest objects in this schedule.
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"
}