Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

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 ? 
 
 
  • Suggested answer
    Mayank Profile Picture
    2 on at
    msdyn_SearchResourceAvailability
    Hi @alexy,
     
     
    you need to filter and select only the results were 
    timeSlots[i].Type == 0 && timeSlots[i].Potential == true
     
    Thanks
  • Community member Profile Picture
    4 on at
    msdyn_SearchResourceAvailability
    Hiya,
     
    Did you end up fixing this? I'm doing the same thing and for me it returns everything.
     
     

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans