One of the biggest updates for developers in CRM 2016 is the new REST Web API endpoint. This is a promotion of the preview item that was available for CRM 2015 Update 1 (online only) customers to an officially supported feature. The new endpoint is being positioned to eventually replace the current SOAP and REST-based endpoints that were introduced in CRM 2011 as the main way of interacting with CRM for both internal and external data access. In today’s blog we will go into more detail about the new Web API and what it means for you. So let’s get started!
What does this mean for developers?
So why change now?
We can look at this from a couple of different angles. Microsoft’s “Mobile First, Cloud First” strategy could be an underlying reason. More and more people consuming services from their mobile devices inevitably puts more demand on software makers to deliver that data faster, more efficiently, and to a wider array of devices. The Web API endpoint directly addresses some of those demands. The data being transferred with the 2011 SOAP endpoint is XML, which contains a lot of extra pieces besides the actual data to form its structure, while the 2016 Web API endpoint uses the JSON data format. Arguably, JSON is the preferred format of the modern web at the moment over XML due to its light-weight nature. Lighter weight means less data transferring from the server to the device. Less data generally translates into better performance and less cost to the consumer when considering the data caps mobile carriers put in place.
When we talk about consuming services from multiple devices, this often translates into using a variety of different programing languages for developers. The current 2011 SOAP endpoint lends itself best to .NET based development as Microsoft provides a set of libraries in the SDK so that developers don’t have to craft the SOAP requests by hand. Outside of .NET developers don’t have that luxury. While it’s not impossible to access CRM currently from non-.NET languages, it’s usually a little bit trickier. The Web API endpoint helps in two ways. The first is by using OAuth v2.0 to handle authentication. The second is using the Open Data Protocol (OData) v4.0 standard. Both of these technologies are readily established and are platform agnostic.
What to do next?
For existing CRM developers, take a look at the official documentation and start getting familiar with what the Web API provides so you are ready to hit the ground running when your CRM 2016 upgrade occurs. For new CRM developers, spin up a CRM Online trial and start trying out some of the samples. For those that might be considering Microsoft CRM but aren’t necessarily a Microsoft shop, give it another look as integrating with your existing applications just got way easier. Want to learn more? Check out our blog, Start Your Engines: Getting Started with the CRM 2016 Web API, to kick off using the new Web API. You can also find the official CRM Web API documentation from the CRM 2016 SDK here.