简体   繁体   English

Outlook - MS 图表 API - 如何检查房间共享选项?

[英]Outlook - MS Graph API - how to check Room Sharing options?

I am building a REST integration using MS Graph 1.0.我正在使用 MS Graph 1.0 构建 REST 集成。 I am basically creating Room bookings using the createEvent API and this works just fine.我基本上是使用 createEvent API 创建房间预订,这很好用。

Now as I understand, some Rooms can be private, meaning only shared with specific Users or Groups.现在据我了解,一些房间可以是私人的,这意味着只与特定的用户或组共享。 How can I check that using MS Graph?如何使用 MS Graph 进行检查? Is there a dedicated API for this?是否有专门的 API 用于此? O rmaybe at least you can point me to the relevant object/property I should be looking into?或者至少你可以指出我应该研究的相关对象/财产?

I want to check if the user triggering the integration is one of the users/groups allowed to book that Room and only then create the invite for that room.我想检查触发集成的用户是否是允许预订该房间的用户/组之一,然后才为该房间创建邀请。

Thanks!谢谢!

Have you tried looking in to places API room resource type, it has bookingType property which says whether the room is standard/reserved.您是否尝试过查找 API 房间资源类型的地方,它有 bookingType 属性,说明房间是否为标准/保留。 https://docs.microsoft.com/en-us/graph/api/resources/room?view=graph-rest-beta#bookingtype-values . https://docs.microsoft.com/en-us/graph/api/resources/room?view=graph-rest-beta#bookingtype-values

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM