2017-09-27 30 views
1

當我做了FindMeetingTimes而沒有任何LocationConstraints時,建議包括遠離我辦公室位置的會議室,例如位於達拉斯的克利夫蘭的會議室。meetingTimeSuggestionResults中的位置建議

我想了解FindMeetingTimes如何工作,以及我們如何嘗試找到conf房間的最佳匹配。

欣賞響應。

回答

0

如果沒有任何LocationContraints,API將包括整個組織的會議室。

您需要提供API一些上下文,以便了解哪些位置有意義。此上下文由LocationContraints對象提供。您需要填寫適合您的房間資源列表:

"locationConstraint": { 
    "isRequired": true, 
    "locations": [{ 
      "resolveAvailability": true, 
      "displayName": "Room 1", 
      "locationEmailAddress": "[email protected]" 
     }, 
     { 
      "resolveAvailability": true, 
      "displayName": "Room 3", 
      "locationEmailAddress": "[email protected]" 
     }, 
     { 
      "resolveAvailability": true, 
      "displayName": "Room 3", 
      "locationEmailAddress": "[email protected]" 
     } 
    ], 
    "suggestLocation": true 
}