Forum Discussion
Set work location via API (Graph?)
Do you know when the possibility of doing this via API will be opened up? In order to synchronize these workLocations with another internal tool? Meghana-MSFT
Thank you!
- Kevin_CrouchOct 06, 2023Brass Contributor
Florian_Coviflex I found you can get the prescence status from /v1/presence/getpresence/ and a body payload like [{"mri":"8:orgid:$UserObjectID"}]
I am just Parsing the response JSON with a quick and dirty sample Schema, but it worked quite well in quick testing. you can also query multiple at once!
I will try to work on a blog post about it
- Florian_CoviflexOct 06, 2023Copper Contributor
Kevin_Crouch thanks !
Not really scalable however, for my use-case, we'd need to use the Graph API.
I've heard this is planned to open it for work location, don't know any deadline however.
Please post your blog here, I'm curious anyway.
Thanks !
- Meghana-MSFTJul 24, 2023Bronze Contributor
Florian_Coviflex - We do not have any information on the availability of this API. The doc would be updated whenever the API is available. Thank you.
- Florian_CoviflexJul 24, 2023Copper Contributor
Thank you Meghana-MSFT, I'll look forward to it then