Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 claim an openshift in a schedule.
Inherits from scheduleChangeRequest.
Methods
Method | Return Type | Description |
---|---|---|
Create | openshiftchangerequest | Create an instance of an openShiftChangeRequest object. |
List | Collection of openshiftchangerequest | List the properties and relationships of openShiftChangeRequest objects in a team. |
Get | openShiftChangeRequest | Read the properties and relationships of an openShiftChangeRequest object. |
Approve | None | Approve an openshiftchangerequest. |
Approve for user | None | Approve an openShiftChangeRequest object for a user. This action only supports application permissions. |
Decline | None | Decline an openshiftchangerequest. |
Decline for user | None | Decline an openShiftChangeRequest object for a user. This action only supports application permissions. |
Properties
Property | Type | Description |
---|---|---|
assignedTo | scheduleChangeRequestActor | Indicates who the request is assigned to. Inherited from scheduleChangeRequest.The possible values are: sender , recipient , manager , system , unknownFutureValue . |
createdBy | identitySet | The user who created the entity. Inherited from changeTrackedEntity. |
createdDateTime | DateTimeOffset | The date and time when the entity was created. Inherited from changeTrackedEntity. |
id | String | The unique identifier for the entity. Inherited from entity. Inherits from entity |
lastModifiedBy | identitySet | The user who last modified the entity. Inherited from changeTrackedEntity. |
lastModifiedDateTime | DateTimeOffset | The date and time when the entity was last modified. Inherited from changeTrackedEntity. |
managerActionDateTime | DateTimeOffset | The date and time when the manager approved or declined the request. Inherited from scheduleChangeRequest. |
managerActionMessage | String | The message sent by the manager regarding the request. Inherited from scheduleChangeRequest. |
managerUserId | String | The user ID of the manager who approved or declined the request. Inherited from scheduleChangeRequest. |
openShiftId | String | ID for the open shift. |
senderDateTime | DateTimeOffset | The date and time when the sender sent the request. Inherited from scheduleChangeRequest. |
senderMessage | String | The message sent by the sender of the request. Inherited from scheduleChangeRequest. |
senderUserId | String | The user ID of the sender of the request. Inherited from scheduleChangeRequest. |
state | scheduleChangeState | The state of the scheduleChangeRequest. Possible values are: pending , approved , declined , unknownFutureValue . |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.openShiftChangeRequest",
"id": "String (identifier)",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"assignedTo": "String",
"state": "String",
"senderMessage": "String",
"senderDateTime": "String (timestamp)",
"managerActionMessage": "String",
"managerActionDateTime": "String (timestamp)",
"senderUserId": "String",
"managerUserId": "String",
"openShiftId": "String"
}