Work with CRM data using web resources

Work with CRM data using web resources

Applies To: CRM 2016 on-prem, CRM Online

You can use JavaScript web resources to access Microsoft Dynamics CRM Online 2016 Update and Microsoft Dynamics CRM 2016 (on-premises) data from within the application. There are three web services you can use in the application to access data by using JavaScript. For organizations using Microsoft Dynamics CRM Online 2016 Update and Microsoft Dynamics CRM 2016 (on-premises) the Web API is recommended.

 

Web Service Description

Web API

The Web API was introduced with Microsoft Dynamics CRM Online 2016 Update and Microsoft Dynamics CRM 2016 (on-premises). It provides a RESTful web service with full compatibility with the organization service. It uses JSON in the body of the HTTP requests and responses, which makes it very suitable for use with JavaScript. More information:Use the Web API with web resources

Organization Data Service

Also known as the “OData endpoint” or “REST endpoint for web resources.”

The organization data service is deprecated with Microsoft Dynamics CRM Online 2016 Update and Microsoft Dynamics CRM 2016 (on-premises). Use the Web API to access CRM data for solutions that don’t need to work with earlier versions. The organization data service remains available and you can use it so that code written for earlier versions will continue to work. For more information, see the Microsoft Dynamics CRM 2015 SDK topic: Use the OData endpoint with web resources.

Organization service

Also known as the “Modern app SOAP endpoint” and the “SOAP endpoint for web resources.”

The organization service can be used but it is much more complex than the Web API with JavaScript because the HTTP requests and responses are sent using XML, which must conform to specific schema and namespaces. For more information, see the Microsoft Dynamics CRM 2015 SDK topic: Use the Modern app SOAP endpoint for modern applications with web resources.

Each of these web services can use the authentication provided by the Microsoft Dynamics CRM application within web resources without the need to include any code to implement authentication. For information about how to use these endpoints with authentication from outside the application, see Write mobile and modern apps.

In This Section

Related Sections

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Show:
© 2016 Microsoft