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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Resource Scheduling API returns zero time slots

(0) ShareShare
ReportReport
Posted on by 10

Hello,

Could you please help me with one question? I don't have much expirience with Resource Scheduling.

I created resource:

pastedimage1576055957220v1.png

and I'm able to see it from Resource Requrement "Book" window:

pastedimage1576056028233v2.png

But when I'm trying to get resources using Resource Scheduling API (using code from here https://cloudblogs.microsoft.com/dynamics365/it/2019/07/15/how-to-use-resource-schedulings-search-resource-availability-api/) it returns zero records.

I changed guids, I tried to remove all constrains, I carefully read throught this article (https://cloudblogs.microsoft.com/dynamics365/it/2019/05/21/retrieve-resource-availability-with-universal-resource-scheduling-api/) and tried different variations of input parameters but nothing works.

Maybe a'm missing some steps in order for Resource Scheduling API to see new resources?

Thank you for your help.

I have the same question (0)
  • Verified answer
    ashish12 Profile Picture
    3,079 on at

    Check the user work time and calender assigned to them.

  • abx Profile Picture
    35 on at

    Hi,

    Same thing is happening to me. Sometimes I used to get zero time slots though it's showing resources in schedule board in CRM.

    Did anyone encounter this or able to resolve this issue.

    I really appreciate for any response!

    Thanks!

  • Suggested answer
    ba365guy Profile Picture
    2,950 on at

    Please check this thread once. Check the verified answer in that thread. Are you using the same approach. Please verify your approach once.

    community.dynamics.com/.../how-to-get-available-time-slots-from-new-api-urs-unified-resource-scheduling-using-plug-ins-code

  • abx Profile Picture
    35 on at

    Hi,

    Thanks for the response.

    I am aware of how to get time slots using JavaScript as well as plugin(Already done). My query is sometimes I am getting zero timeslots from my plugin though I can see available slots in schedule board.

  • Fannie30 Profile Picture
    2,990 Moderator on at

    What are you trying to achieve?  Where are you trying to schedule these resources / work orders?

  • Dmitriy Razumov Profile Picture
    10 on at

    Thank you all for answers. I solved it after configuring the Calendar.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans