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:
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
Post a Comment