web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: Resource Scheduling API returns zero time slots

    Check the user work time and calender assigned to them.

  • abx Profile Picture
    35 on at
    RE: Resource Scheduling API returns zero time slots

    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
    RE: Resource Scheduling API returns zero time slots

    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
    RE: Resource Scheduling API returns zero time slots

    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
    RE: Resource Scheduling API returns zero time slots

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

  • Dmitriy Razumov Profile Picture
    10 on at
    RE: Resource Scheduling API returns zero time slots

    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 70

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 25 Super User 2025 Season 2

#3
mk1329 Profile Picture

mk1329 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans