| title | shiftPreferences resource type |
|---|---|
| description | Represents a user's availability to be assigned shifts in the schedule. |
| ms.localizationpriority | medium |
| author | akumar39 |
| ms.subservice | teams |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents a user's availability to be assigned shifts in the schedule.
| Method | Return Type | Description |
|---|---|---|
| Get | shiftPreferences | Read the properties and relationships of a shiftPreferences object. |
| Update | shiftPreferences | Update a shiftPreferences object. |
| Property | Type | Description |
|---|---|---|
| id | Edm.String |
The identifier of the entity. |
| @odata.etag | Edm.String |
The change key for the entity. |
| availability | shiftAvailability collection | Availability of the user to be scheduled for work and its recurrence pattern. |
| createdDateTime | Edm.DateTimeOffset |
Timestamp corresponding to when the entity was created. |
| lastModifiedDateTime | Edm.DateTimeOffset |
Timestamp corresponding to when the entity was last modified. |
| lastModifiedBy | identitySet | Identity of the person who last modified the entity. |
None.
The following JSON representation shows the resource type.
{
"availability": [{"@odata.type": "microsoft.graph.shiftAvailability"}]
}