Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |
|---|---|---|
| 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. |
| recipientActionDateTime | DateTimeOffset | The date and time when the recipient approved or declined the request. |
| recipientActionMessage | String | The message sent by the recipient regarding the request. |
| recipientUserId | String | The recipient's user ID. |
| 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. |
| senderShiftId | String | The sender's shift ID. |
| senderUserId | String | The user ID of the sender of the request. Inherited from scheduleChangeRequest. |
| state | scheduleChangeState | The state of the entity. Inherited from scheduleChangeRequest.The possible values are: pending, approved, declined, unknownFutureValue. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.offerShiftRequest",
"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",
"recipientActionMessage": "String",
"recipientActionDateTime": "String (timestamp)",
"senderShiftId": "String",
"recipientUserId": "String"
}