1
msdyn_SearchResourceAvailabilityRequest API does not allow you to get all time slots of specified duration in specified time interval.

Instead, it returns the longest duration possible in between other scheduled appointments.

This works, but a possible future enhancement based on parameter passed in: Return all possible time slots of specified duration in time interval, respecting fulfillment preferences.

e.g. for msdyn_SearchResourceAvailabilityRequest('11/1/2021 1:00pm','11/1/2021 2:00pm', 30 minutes, TRUE)

Assuming the entire hour from 1 to 2pm is free, return the following:

1:00pm - 1:30pm
1:01pm - 1:31pm
1:02pm - 1:32pm
1:03pm - 1:33pm
1:04pm - 1:34pm
1:05pm - 1:35pm

etc...

e.g. for msdyn_SearchResourceAvailabilityRequest('11/1/2021 1:00pm','11/1/2021 2:00pm', 30 minutes, FALSE)

Assuming the entire hour from 1 to 2pm is free, return the following:

1:00pm - 2:00pm
STATUS DETAILS
Needs Votes