Retrieving data from Dynamics CRM using Web API and C#.
Hello Guys,
In our previous blog we have seen how to connect D365 using Web API and C#. Today we will retrieve data from D365 CRM using Web API and C# Code.
Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends.
We will be working with the same example which we have used in our previous blog. First we will be creating one entity and some sample data in D365. For time being i have created an entity named "Employee" whose schema name is "blg_employee".
As you can see in below image we have created some sample data also.
Now open Visual Studio and console application which we have created in our previous blog. Now we will be creating one Employee class as shown below.
Now add below function in your c# code.
Call the function from the main program and you will see the output as shown below.
Hope it helps...
Comments
Post a Comment