I am trying to get the time slots of the required resources and unable to get because why I enquired in about msdyn_SearchResourceAvailability in my CRM instance it wasn't available even after updating. I am following these links:-
I am trying to get the time slots of the required resources and unable to get because why I enquired in about msdyn_SearchResourceAvailability in my CRM instance it wasn't available even after updating. I am following these links:-
Hi Bhagat,
Here is sample code for reference.
OrganizationRequest req = new OrganizationRequest("msdyn_SearchResourceAvailability"); req["Version"] = "1"; req["Requirement"] = new Entity("msdyn_resourcerequirement", new Guid("1181fb75-c732-ea11-a813-000d3ab29c25")); var SettingsEntity = new Entity("organization"); SettingsEntity["ConsiderSlotsWithProposedBookings"] = true; SettingsEntity["ConsiderSlotsWithProposedBookings"] = true; req["Settings"] = SettingsEntity; var response = service.Execute(req);
Best Regards
PG
Hi Pankaj,
Any idea what the action is expecting to be passed as Variable, Requirement, Settings and Resource Specification.
Warm Regards,
Bhagat Ashutosh Yadav.
Hi Pankaj,
Thanks for coming to rescue.
Warm Regards,
Bhagat Ashutosh Yadav.
Hi Bhagat,
You can download the oData Metadata under Developer Resources. msdyn_SearchResourceAvailability is an Action.
Please refer the article to call actions.
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/use-web-api-actions
Hope this helps
Best Regards
PG
André Arnaud de Cal...
293,099
Super User 2025 Season 1
Martin Dráb
231,880
Most Valuable Professional
nmaenpaa
101,156
Moderator