Düzenle

Aracılığıyla paylaş


offerShiftRequest 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 type of shift request to offer a shift to another user in the team.

Methods

Method Return Type Description
Create offerShiftRequest Create an instance of an offerShiftRequest object.
Get offerShiftRequest Read properties and relationships of offerShiftRequest object.
List Collection of offerShiftRequest Read properties and relationships of all offerShiftRequest objects in a team.
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"
}