Good morning team,
We are trying to get all shift per-users on TEAMS SHIFT on API.
It seems we just can't get which API provides the information below.
When I do "Network" inspect online it seems the api calls this URL "https://api-nam1.staffhub.office.com/api/tenants/{tenant_id}/teams/{team_id}/shiftrequests" but this API standard is not documented on https://learn.microsoft.com/en-us/graph/api/team-get?view=graph-rest-1.0&tabs=http.
Do you guys have an idea? (Been stuck on this for days)
Also,
The API that I tried was this one https://learn.microsoft.com/en-us/graph/api/schedule-list-shifts?view=graph-rest-1.0&tabs=http but the data is old (From March 03/2020) is there a way i can specify date ?
schedule-list-shifts
shiftrequests
As
shiftrequests
is now deprecated, you have to usetimeoffreasons
instead. You can find the docs here