編輯

共用方式為


swapShiftsChangeRequest 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 swap a shift with another user in the team.

Methods

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

Properties

Property Type Description
recipientShiftId String Shift ID for the recipient user with whom the request is to swap.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "recipientShiftId": "String"
}