Skip to content

Commit aec5eb0

Browse files
committed
Update shifts-custom-wfm-integration.md
1 parent 6e119cf commit aec5eb0

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

microsoft-365/frontline/shifts-custom-wfm-integration.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,20 @@ Success: Return HTTP `200 OK`
273273
The following response shows that the eligible time off reason IDs for the user are "TOR_29f4a110-ae53-458b-83d6-00c910fe2fbc" and "TOR_8c0e8d07-ac1a-48dc-b3af-7bc71a62ff7d". In this scenario, the user sees the corresponding time-off reasons to choose from in Shifts.
274274

275275
```http
276-
{
277-
"requests": [
278-
{
279-
"id": "aa162a04-bec6-4b81-ba99-96caa7b2b24d",
280-
"method": "GET",
281-
"url": "/users/aa162a04-bec6-4b81-ba99-96caa7b2b24d/timeOffReasons?requestType=TimeOffReason"
282-
}
283-
]
276+
{
277+
"responses": [
278+
{
279+
"id": "aa162a04-bec6-4b81-ba99-96caa7b2b24d",
280+
"status": 200,
281+
"body": {
282+
"data": [
283+
"TOR_29f4a110-ae53-458b-83d6-00c910fe2fbc",
284+
"TOR_8c0e8d07-ac1a-48dc-b3af-7bc71a62ff7d"
285+
],
286+
"error": null
287+
}
288+
}
289+
]
284290
}
285291
```
286292

0 commit comments

Comments
 (0)