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

后端 未结 1 1157
失恋的感觉
失恋的感觉 2020-12-11 14:44

I have been trying to play around with the Microsoft Graph API. I have a situation here. I have assigned some meeting rooms with an email ID and want to know the availabilit

相关标签:
1条回答
  • 2020-12-11 15:07

    I have assigned some meeting rooms with an email ID and want to know the availability of all.

    The findMeetingTimes API should suit your scenario. For the assigned meeting rooms, you can list them inside locationConstraint parameter of request body, for the assigned attendee email ID, you can add it to attendees parameter of request body. Then the response of this API will return a list of meeting time suggestions based on the meeting rooms are available and all attendees are available. And the the names of rooms available are listed on "locations" of every suggestion.

    You can test this API with the example inside the document. My testing result:

    Update:

    Pay attention that check the permissions inside the document for using this API. Firstly, the account should be work or school account, personal Microsoft account is not supported. Secondly,you need to have Calendars.Read.Shared, Calendars.ReadWrite.Shared permissions.

    0 讨论(0)
提交回复
热议问题