Requirement is to list the available time slots in Microsoft Booking when the customer chose a particular service. This will be related to all the booking made that day for the selected services, working hours of the staff who work on these services and the time frame for the selected service.
For example if the service A takes 1 hour and the working time is from 08:00 to 17: 00. Time slots will be 08:00-09:00, 09:00-10:00 etc. Now, say if there are two staffs and the slot 11:00 - 12:00 is booked for both of them, then it should be excluded when we display the available slots. Also, if only one of the staff is booked for 11:00-12:00, then include it in the available slots as one staff is free for service.
Following the APIs in Use the Microsoft Bookings API in Microsoft Graph to implement this requirement. Can someone help with an approach with available APIs?