question

VivekGupta-8139 avatar image
0 Votes"
VivekGupta-8139 asked AnnaXiu-MSFT edited

For unit testing purpose, please provide example of how to create dummy data using C# for the response returned by Search Resource Availability for Requirement Group API

Hi,

I am using FakeXrmEasy for creating unit tests for D365 plugins.

As per https://docs.microsoft.com/en-us/dynamics365/customer-service/universal-resource-scheduling#bkmk_sra_rg , the Search Resource Availability for Requirement Group API returns properties like TimeSlots, ProposalResourceAssignmentSets, Requirements etc.

For unit testing purpose, please provide example of how to create dummy data using C# for the response (property: ProposalResourceAssignmentSets) returned by Search Resource Availability for Requirement Group API so that I can query it using EntityCollection.

Thanks in advance.

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnnaXiu-MSFT avatar image
0 Votes"
AnnaXiu-MSFT answered

Hi @VivekGupta-8139,

Dynamics 365 is currently not supported in the Microsoft Q&A, the supported products are listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

You can ask in the dedicated Dynamics 365 forum over here:
https://community.dynamics.com/login?ReturnUrl=/p/new-post?fid=117

Thanks for your understanding.

Sincerely,
Anna


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.