c# - How to display a list of available meeting rooms at present using Microsoft Graph API -


i have been trying play around microsoft graph api. have situation here. have assigned meeting rooms email id , want know availability of all. if rooms available , should name of meeting room , if possible , duration room available. want know how query multiple rooms , return data.

a bit confused following apis, these ?

https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/user_findmeetingtimes  https://graph.microsoft.com/beta/me/calendar 

i have assigned meeting rooms email id , want know availability of all.

the findmeetingtimes api should suit scenario. assigned meeting rooms, can list them inside locationconstraint parameter of request body, assigned attendee email id, can add attendees parameter of request body. response of api return list of meeting time suggestions based on meeting rooms available , attendees available. , the names of rooms available listed on "locations" of every suggestion.

you can test api example inside document. testing result:

enter image description here

update:

pay attention check permissions inside document using api. firstly, account should work or school account, personal microsoft account not supported. secondly,you need have calendars.read.shared, calendars.readwrite.shared permissions.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -