Skip to content

Commit ce3cc94

Browse files
authored
Merge branch 'main' into prefer-header-update
2 parents 8fdddc0 + e93f39d commit ce3cc94

35 files changed

+736
-223
lines changed

api-reference/beta/api/connectorgroup-post-connectorgroups.md

Lines changed: 0 additions & 131 deletions
This file was deleted.

api-reference/beta/api/schedule-get.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: "Get schedule"
33
description: "Retrieve the properties and relationships of a **schedule** object."
44
author: "shanemalone"
5+
ms.date: 12/04/2024
56
ms.localizationpriority: medium
67
ms.subservice: "teams"
78
doc_type: apiPageType
8-
ms.date: 04/05/2024
99
---
1010

1111
# Get schedule
@@ -136,6 +136,7 @@ Content-type: application/json
136136
"timeOffRequestsEnabled": true,
137137
"startDayOfWeek": "Monday",
138138
"activitiesIncludedWhenCopyingShiftsEnabled": true,
139+
"isActivitiesIncludedWhenCopyingShiftsEnabled": true,
139140
"isCrossLocationShiftsEnabled": true,
140141
"isCrossLocationShiftRequestApprovalRequired": true
141142
}

api-reference/beta/api/team-put-schedule.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: "Create or replace schedule"
33
description: "Create or replace a **schedule** object."
44
author: "shanemalone"
5+
ms.date: 12/04/2024
56
ms.localizationpriority: medium
67
ms.subservice: "teams"
78
doc_type: apiPageType
8-
ms.date: 04/05/2024
99
---
1010

1111
# Create or replace schedule
@@ -142,6 +142,7 @@ Content-type: application/json
142142
"timeOffRequestsEnabled": true,
143143
"startDayOfWeek": "Sunday",
144144
"activitiesIncludedWhenCopyingShiftsEnabled": true,
145+
"isActivitiesIncludedWhenCopyingShiftsEnabled": true,
145146
"isCrossLocationShiftsEnabled": true,
146147
"isCrossLocationShiftRequestApprovalRequired": true
147148
}
@@ -171,17 +172,10 @@ PUT https://graph.microsoft.com/beta/teams/871dbd5c-3a6a-4392-bfe1-042452793a50/
171172
"offerShiftRequestsEnabled": true,
172173
"timeOffRequestsEnabled": true,
173174
"startDayOfWeek": "Tuesday",
174-
"activitiesIncludedWhenCopyingShiftsEnabled": true,
175+
"isActivitiesIncludedWhenCopyingShiftsEnabled": true,
175176
"isCrossLocationShiftsEnabled": true,
176177
"isCrossLocationShiftRequestApprovalRequired": true,
177-
"timeClockEnabled": true,
178-
"timeClockSettings": {
179-
"approvedLocation": {
180-
"altitude": 1024.13,
181-
"latitude": 26.13246,
182-
"longitude": 24.34616
183-
}
184-
}
178+
"timeClockEnabled": true
185179
}
186180
```
187181

@@ -245,16 +239,10 @@ Content-type: application/json
245239
"timeOffRequestsEnabled": true,
246240
"startDayOfWeek": "Tuesday",
247241
"activitiesIncludedWhenCopyingShiftsEnabled": true,
242+
"isActivitiesIncludedWhenCopyingShiftsEnabled": true,
248243
"isCrossLocationShiftsEnabled": true,
249244
"isCrossLocationShiftRequestApprovalRequired": true,
250-
"timeClockEnabled": true,
251-
"timeClockSettings": {
252-
"approvedLocation": {
253-
"altitude": 1024.13,
254-
"latitude": 26.13246,
255-
"longitude": 24.34616
256-
}
257-
}
245+
"timeClockEnabled": true
258246
}
259247
```
260248

api-reference/beta/api/timecard-clockin.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ In the request body, provide a JSON object with the following parameters.
5050

5151
| Parameter | Type | Description |
5252
|:-------------|:------------|:------------|
53-
|atApprovedLocation| `Edm.boolean ` | Indicate if this action happens at an approved location.|
54-
|onBehalfOfUserId| String | Optional parameter used by the manager to clock in on behalf of a user.|
55-
|notes| [itemBody](../resources/itembody.md) |Notes for the clock in. |
53+
|isAtApprovedLocation|Boolean|Indicates whether this action happens at an approved location.|
54+
|notes|[itemBody](../resources/itembody.md)|Notes for the clock in.|
55+
|atApprovedLocation (deprecated)|Boolean|Indicates whether this action happens at an approved location. This property will be removed by November 27, 2027. Use `isAtApprovedLocation` instead. `atApprovedLocation` and `isAtApprovedLocation` always have the same value, so setting one automatically sets the value for the other. If both are included in the request with different values, the value for `isAtApprovedLocation` takes precedence.|
5656

5757
## Response
5858

@@ -74,10 +74,10 @@ POST https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32
7474
Content-type: application/json
7575
7676
{
77-
"atAprovedLocation": true,
77+
"isAtApprovedLocation": true,
7878
"notes": {
7979
"contentType": "text",
80-
"content": "clock in notes"
80+
"content": "clocking in"
8181
}
8282
}
8383
```
@@ -151,21 +151,23 @@ Content-type: application/json
151151
},
152152
"clockInEvent": {
153153
"dateTime": "2021-05-27T22:58:41.327Z",
154-
"atApprovedLocation": null,
154+
"atApprovedLocation": true,
155+
"isAtApprovedLocation": true,
155156
"notes": {
156157
"contentType": "text",
157-
"content": "clock in notes"
158+
"content": "clocking in"
158159
}
159160
},
160161
"breaks": [],
161162
"originalEntry": {
162163
"clockOutEvent": null,
163164
"clockInEvent": {
164165
"dateTime": "2021-05-27T22:58:41.327Z",
165-
"atApprovedLocation": null,
166+
"atApprovedLocation": true,
167+
"isAtApprovedLocation": true,
166168
"notes": {
167169
"contentType": "text",
168-
"content": "clock in notes"
170+
"content": "clocking in"
169171
}
170172
},
171173
"breaks": []

api-reference/beta/api/timecard-clockout.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ In the request body, provide a JSON object with the following parameters.
5050

5151
| Parameter | Type | Description |
5252
|:-------------|:------------|:------------|
53-
|atApprovedLocation| `Edm.boolean ` | Indicate if this action happens at an approved location.|
54-
|notes| [itemBody](../resources/itembody.md) |Notes for the clock out. |
53+
|isAtApprovedLocation|Boolean|Indicates whether this action happens at an approved location.|
54+
|notes|[itemBody](../resources/itembody.md)|Notes for the clock out.|
55+
|atApprovedLocation (deprecated)|Boolean|Indicates whether this action happens at an approved location. This property will be removed by November 27, 2027. Use `isAtApprovedLocation` instead. `atApprovedLocation` and `isAtApprovedLocation` always have the same value, so setting one automatically sets the value for the other. If both are included in the request with different values, the value for `isAtApprovedLocation` takes precedence.|
5556

5657
## Response
5758

@@ -76,10 +77,10 @@ POST https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32
7677
Content-type: application/json
7778
7879
{
79-
"atAprovedLocation": true,
80+
"isAtApprovedLocation": true,
8081
"notes": {
8182
"contentType": "text",
82-
"content": "clock out smaple notes"
83+
"content": "clocking out"
8384
}
8485
}
8586
```

api-reference/beta/api/timecard-endbreak.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ In the request body, provide a JSON object with the following parameters.
5050

5151
| Parameter | Type | Description |
5252
|:-------------|:------------|:------------|
53-
|atApprovedLocation| `Edm.boolean ` | Indicate if this action happens at an approved location.|
54-
|notes| [itemBody](../resources/itembody.md) |Notes during end of break.|
53+
|isAtApprovedLocation|Boolean|Indicates whether this action happens at an approved location.|
54+
|notes|[itemBody](../resources/itembody.md)|Notes for the end of the break.|
55+
|atApprovedLocation (deprecated)|Boolean|Indicates whether this action happens at an approved location. This property will be removed by November 27, 2027. Use `isAtApprovedLocation` instead. `atApprovedLocation` and `isAtApprovedLocation` always have the same value, so setting one automatically sets the value for the other. If both are included in the request with different values, the value for `isAtApprovedLocation` takes precedence.|
5556

5657
## Response
5758

@@ -74,10 +75,10 @@ The following example shows a request.
7475
POST https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32/schedule/timeCards/TCK_cc09588d-d9d2-4fa0-85dc-2aa5ef983972/endbreak
7576
7677
{
77-
"atAprovedLocation": true,
78+
"isAtApprovedLocation": true,
7879
"notes": {
7980
"contentType": "text",
80-
"content": "end break smaple notes"
81+
"content": "ending break"
8182
}
8283
}
8384
```

api-reference/beta/api/timecard-get.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Content-type: application/json
138138
"clockInEvent": {
139139
"dateTime": "2021-05-27T22:58:41.327Z",
140140
"atApprovedLocation": null,
141+
"isAtApprovedLocation": null,
141142
"notes": {
142143
"contentType": "text",
143144
"content": "clock in notes"
@@ -146,6 +147,7 @@ Content-type: application/json
146147
"clockOutEvent": {
147148
"dateTime": "2021-05-27T23:01:46.205Z",
148149
"atApprovedLocation": null,
150+
"isAtApprovedLocation": null,
149151
"notes": {
150152
"contentType": "text",
151153
"content": "clock out smaple notes"
@@ -158,6 +160,7 @@ Content-type: application/json
158160
"start": {
159161
"dateTime": "2021-05-27T22:59:59.328Z",
160162
"atApprovedLocation": null,
163+
"isAtApprovedLocation": null,
161164
"notes": {
162165
"contentType": "text",
163166
"content": "start break smaple notes"
@@ -166,6 +169,7 @@ Content-type: application/json
166169
"end": {
167170
"dateTime": "2021-05-27T23:01:10.205Z",
168171
"atApprovedLocation": null,
172+
"isAtApprovedLocation": null,
169173
"notes": {
170174
"contentType": "text",
171175
"content": "end break smaple notes"
@@ -177,6 +181,7 @@ Content-type: application/json
177181
"clockInEvent": {
178182
"dateTime": "2021-05-27T22:58:41.327Z",
179183
"atApprovedLocation": null,
184+
"isAtApprovedLocation": null,
180185
"notes": {
181186
"contentType": "text",
182187
"content": "clock in notes"
@@ -185,6 +190,7 @@ Content-type: application/json
185190
"clockOutEvent": {
186191
"dateTime": "2021-05-27T23:01:46.205Z",
187192
"atApprovedLocation": null,
193+
"isAtApprovedLocation": null,
188194
"notes": {
189195
"contentType": "text",
190196
"content": "clock out smaple notes"
@@ -197,6 +203,7 @@ Content-type: application/json
197203
"start": {
198204
"dateTime": "2021-05-27T22:59:59.328Z",
199205
"atApprovedLocation": null,
206+
"isAtApprovedLocation": null,
200207
"notes": {
201208
"contentType": "text",
202209
"content": "start break smaple notes"
@@ -205,6 +212,7 @@ Content-type: application/json
205212
"end": {
206213
"dateTime": "2021-05-27T23:01:10.205Z",
207214
"atApprovedLocation": null,
215+
"isAtApprovedLocation": null,
208216
"notes": {
209217
"contentType": "text",
210218
"content": "end break smaple notes"

0 commit comments

Comments
 (0)