Compartir a través de


Use the IOrganizationService web service to read and write data or metadata

 

Applies To: Dynamics CRM 2013

In Microsoft Dynamics CRM 2013, the primary web service that accesses data and metadata for your organization is IOrganizationService. This web service contains the methods that you use to write code that uses all the data and metadata in Microsoft Dynamics CRM.

To use the IOrganizationService web service, add a reference to the Microsoft.Xrm.Sdk.dll assembly to your Microsoft Visual Studio project. To access the non-core xRM messages, add a reference to the Microsoft.Crm.Sdk.Proxy.dll assembly to your project also. Alternatively, add the service reference to your project. More information: Download the endpoints using the Microsoft Dynamics CRM 2013 Developer resources page

In This Section

Organization service methods

Use messages (request and response classes) with the Execute method

Use ExecuteMultiple to improve performance for bulk data load

xRM messages in the Organization service

CRM messages in the organization service

IOrganizationService entities

Sample: Execute multiple requests

Use the early bound entity classes in code

Use the late bound entity class in code

Retrieve data with queries

Write applications and server extensions

Authenticate users with Microsoft Dynamics CRM 2013 web services

Discover the URL for your organization with IDiscoveryService web service

Run a simple program using Microsoft Dynamics CRM 2013 web services