Skip to main content

New Web API Preview for Microsoft Dynamics CRM Offers Stronger Long Term Solution

by Jason Gumpert
Editor, MSDynamicsWorld.com

Scaffolding around tree 

Microsoft published a preview of the new version of the Dynamics CRM Web API, and it will improve the ability of developers - and Microsoft - to build more sophisticated apps on top of CRM.

The Web API that is in preview currently works alongside the existing supported ODATA REST-based APIs. But over the long term, the new API will gradually replace the current one, creating a single Web API, Microsoft explained.

"The new request types exposed are where I'm really excited about the new capabilities," says Barry Givens, director of product management for CRM at Avanade. "[They] will let us reduce the amount of code that we have to write and, more importantly, reduce the number of round trips that we have to make to the CRM service to complete an action."

Givens says the best of the capabilities is the UPSERT (update + insert) message ."It allows us to check for an item in CRM and then create it if it doesn't exist. We often have to do this with contact records for applications that we build. It is also useful for building smarter synchronization with external systems.

Henrik of the DevBeard blog believes the most interesting aspect of the new API preview is the set of samples that Microsoft provided. They show how to connect, how to use basic operations via helper classes and a helper library, and there is a documentation generator. He writes:

"If you have ever struggled ...

FREE Membership Required to View Full Content:

Joining MSDynamicsWorld.com gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here

About Jason Gumpert

As the editor of MSDynamicsWorld.com, Jason oversees all editorial content on the site and at our events, as well as providing site management and strategy. He can be reached at jgumpert@msdynamicsworld.com.

Prior to co-founding MSDynamicsWorld.com, Jason was a Principal Software Consultant at Parametric Technology Corporation (PTC), where he implemented solutions, trained customers, managed software development, and spent some time in the pre-sales engineering organization. He has also held consulting positions at CSC Consulting and Monitor Group.

More about Jason Gumpert