Addressing Slow Response Times in Graph API Calendar GetSchedule for Retrieving Over 20 Schedules

Maddukuri, Shyam Satya Chand 5 Reputation points
2024-06-10T13:29:40.3533333+00:00

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" }

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,274 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,315 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
673 questions
0 comments No comments
{count} votes