Επεξεργασία

Κοινή χρήση μέσω


Work with Customer Engagement (on-premises) data using web resources

You can use JavaScript web resources to access Dynamics 365 for Customer Engagement data from within the application. There are three web services you can use in the application to access data by using JavaScript. The Organization data service is deprecated with Dynamics 365 for Customer Engagement. It is recommended to use Web API instead of Organization service when creating applications that connect to the Dynamics 365 Customer Engagement Web Services and invoke methods to perform common business data operations like create, delete, update, and find.

Web Service Description
Web API The Web API was introduced with Dynamics 365 for Customer Engagement. 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: Get started with the Web API (client-side JavaScript)
Organization Data Service

Also known as the “OData endpoint” or “REST endpoint for web resources.”
The organization data service is deprecated with Dynamics 365 for Customer Engagement. Use the Web API to access Customer Engagement 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 Dynamics CRM 2015 SDK topic: Use the OData endpoint with web resources.
Organization service 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

Each of these web services can use the authentication provided by the Dynamics 365 Customer Engagement (on-premises) 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 web application, see Authenticate users in Dynamics 365 Customer Engagement (on-premises).

In This Section

Get started with the Web API (client-side JavaScript)

Extend Dynamics 365 Customer Engagement on the client

Use JavaScript with Dynamics 365 Customer Engagement (on-premises)

Client scripting in Customer Engagement (on-premises) using JavaScript

Open Forms, Views, Dialogs and Reports with a URL

Open forms, views, and dashboards in Dynamics 365 Customer Engagement mobile client with a URL

Web Resources for Dynamics 365 Customer Engagement (on-premises)

Client scripting in Customer Engagement (on-premises) using JavaScript

Client API Reference