Addressing Slow Response Times in Graph API Calendar GetSchedule for Retrieving Over 20 Schedules
Scenario :- We need to display all available room for an location selected for an certain time interval.
Could you suggest an alternative approach for efficiently displaying all available rooms for a selected location within a specific time interval? Currently, we utilize "v1.0/me/calendar/getschedule" by providing room IDs/emails as schedules, but if there are more than 15 meeting rooms, it sometimes takes over 20 seconds to receive a response. We typically set the availabilityViewInterval parameter between 10 minutes to 5 hours, but our goal is to focus on a specific time of day. Could you provide guidance on optimizing this process? Below is a sample JSON request for reference:
{ "Schedules": [ "XXXXXXX12@adp.com" ], "StartTime": { "dateTime": "2023-02-02T08:00:00", "timeZone": "Eastern Standard Time" }, "EndTime": { "dateTime": "2022-02-02T09:00:00", "timeZone": "Eastern Standard Time" }, "availabilityViewInterval": "60" }