編輯

共用方式為


offerShiftRequest resource type

Namespace: microsoft.graph

Represents a request to offer a shift to another user in the team.

Methods

Method Return Type Description
List Collection of offerShiftRequest Read the properties and relationships of all offerShiftRequest objects in a team.
Create offerShiftRequest Create an instance of an offerShiftRequest object.
Get offerShiftRequest Read the properties and relationships of an offerShiftRequest object.
Approve None Approve an offerShiftRequest.
Decline None Decline an offerShiftRequest.

Properties

Property Type Description
recipientActionDateTime 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
recipientActionMessage String Custom message sent by recipient of the offer shift request.
recipientUserId String User ID of the recipient of the offer shift request.
senderShiftId String User ID of the sender of the offer shift request.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "recipientActionDateTime": "String (timestamp)",
  "recipientActionMessage": "String",
  "recipientUserId": "String",
  "senderShiftId": "String"
}