Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

URS API in Portal

Posted on by 425

Hi All,

We are trying to setup scheduling functionality in portal using the URS API, based on the below article, the output should have TimeGroupDetail in the TimeGroup entity(refer Time Slot Time Group section in the link below), for some reason, it is not returning.

Did anyone had success using the API "msdyn_searchresourceavailability"?

I have a ticket open with MS support, but just wanted check if anybody managed to use it.

https://cloudblogs.microsoft.com/dynamics365/it/2019/05/21/retrieve-resource-availability-with-universal-resource-scheduling-api/

Thanks

  • abx Profile Picture
    abx 35 on at
    RE: URS API in Portal

    Hi Jevan,

    I am also trying plugin/Code to retrieve time slots. As you said retrieving slots is working fine for you. Can you help me out by sharing the code.

    Thanks!

  • abx Profile Picture
    abx 35 on at
    RE: URS API in Portal

    Hi Alexander,

    As you said that you have received the timeslots. Can you help me with the code to retrieve timeslots using "msydn_searchresourceavailability" api?

    Thanks!

  • Al Iggs Profile Picture
    Al Iggs on at
    RE: URS API in Portal

    No, I just received slots. What exactly is your issue, I didn't get that from your explanation about time groups.

  • RE: URS API in Portal

    Thanks for the link, i haven't tested this because the way we have done is using plug-ins/code activities, this article is talking about web resources. Retrieving the slots is working fine for me, but the issue we are facing is only when we try to update an existing appointment. Did you managed to update an existing appointment which was booked earlier?

  • Suggested answer
    Al Iggs Profile Picture
    Al Iggs on at
    RE: URS API in Portal

    Have a look at this post cloudblogs.microsoft.com/.../ It has a code example that worked for me.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans