Updation and Deletion of data into Dynamics CRM using Web API and C#.

 Hello Guys,

In our previous blog we have seen how to create data into D365 using web api and c#. Today we are going to modify and delete data into D365 using web api and c#.













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. we have already created Employee entity in D365 along with sample data.



Now we will be modifying Amol Birar's data. Create a new method named update and replace it as shown below:



As you can see we have modified address and salary of the employee. Now call the method from the main program.



As you can see data is modified in D365. Now we will be deleting the same record. Create a new method named delete and replace the code as shown below:



Now call the function and see the result.

Hope it helps...


Comments

Post a Comment

Popular posts from this blog

Read Only Sub Grid & Editable Sub grid in Dynamics 365

Using Pipelines in Power platform for deploying solutions to environments.

Understanding Sales Process in D365.