O'Reilly logo

Microsoft Dynamics CRM 2011 Application Design by Mahender Pal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Microsoft CRM 2011 web services

Microsoft CRM 2011 provides rich WCF service support. Microsoft CRM 2011 provides the two following web services.

Organization web service

The Organizaiton web service is used to retrieve data and metadata from Microsoft CRM 2011. It has the following methods.

Create

The Create method is used to create entity records. It takes the entity object as a parameter and returns the GUID of the newly created record. We can use the following example to create the Account entity record:

        Entity Account = new Entity("account");
        Account.Attributes.Add("name", "TestAccount");
        Account.Attributes.Add("address1_city","Gurgaon");
        service.Create(Account);

Update

The Update method is used to update existing entity data based on key values. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required