web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

msdyn_SearchResourceAvailability

(1) ShareShare
ReportReport
Posted on by
Hello,
 
I am currently referencing the following article: /Search Resource Availability API/ available at the link: https://learn.microsoft.com/en-us/dynamics365/field-service/search-resource-availability-api. I am utilizing this resource to obtain the availability information of the resources within the Field Service.

The parameters I am employing are as follows:
 
 
As an example, I am working with a scenario where I have three resources that fulfill the specified criteria. However, only one of these resources should be available within the selected range of dates.
 
 
 
Upon examining the results, I have noticed that I am receiving six time slots. However, it is crucial to highlight that these time slots are not taking into account the availability of my resources, as they solely reflect their working hours. 
 
Upon reviewing one of the time slots for Alan Steiner (Sample Data), it becomes apparent that the information provided is inconsistent. By referring to the schedule board, it is evident that Alan Steiner is not available during that particular time slots. 
 
 
Any idea what I am doing wrong ? 
 
 
I have the same question (0)
  • Community member Profile Picture
    4 on at
    Hiya,
     
    Did you end up fixing this? I'm doing the same thing and for me it returns everything.
     
     
  • Suggested answer
    Mayank Profile Picture
    2 on at
    Hi @alexy,
     
     
    you need to filter and select only the results were 
    timeSlots[i].Type == 0 && timeSlots[i].Potential == true
     
    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 45 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans