4259 Tuesday, July 12, 2016 |
Suresh Maurya
Dynamics CRM Consultant at IBM

Difference between Web API, Organization service and Organization Data service in Microsoft Dynamics CRM

Web API

Web API is introduced with Microsoft Dynamics CRM 2016 and will provide parity with the Organization service.

Key points about Web API:

  • Web API provides parity with Organization service with some limitations.
  •  It implements  OData (Open Data Protocol) version 4.0 which is an open standard for building and consuming RESTful APIs over rich data sources like DOC, HTML and PDF.
  • Because Web API is built on open standards therefore it's no necessary to use Microsoft Dynamics CRM provided libraries, third-party libraries can be used to generate classes. 
  • You can compose own Http requests as well. 
  • Wep API supports wide variety of programming languages (including .Net, C++, Java, JavaScript, Python), platforms and devices as compared to Organization service.
  • Web API will gradually replace Organization service and Organization Data service to become single web service for Microsoft Dynamics CRM.
  • Wep API Request and Response have JSON format, so its very easy to work with Wep API from JavaScript.
  • Authentication is provided by the application itself when used within web resources, form scripts and ribbon commands. 
  • Maximum 5000 records can be return for each request.

Organization Service

Organization service is available since Microsoft Dynamics CRM 2011 and is mainly used for server side development i.e. code running on Microsoft Dynamics CRM server.

Key points about Organization service:

  • Implements IOrganizationService interface.
  • Organization service is also know as SOAP endpoint.
  • Microsoft Dynamics CRM uses Windows Communication Foundation (WCF) to SOAP endpoint.
  • It is the primary web service for accessing data and metadata from Microsoft Dynamics CRM organization.
  • It is built on WCF and optimized for use with the .Net.
  • Organization service request and response has SOAP format.
  • Microsoft Dynamics CRM SDK provides assemblies and tools to generate strongly typed classes and proxies to simplify developement in Microsoft Visual Studio.
  • Maximum 5000 records can be returned in a single query.

Organization Data Service

Organization Data service is available since Microsoft Dynamics CRM 2011 and is mainly used for client side development (code running in browser)  using JavaScript. 

It supports JSON format for request and response which can be easily handled from JavaScript, therefore this is preferred service for client side development.  

Key points about Organization Data service:

  • It is preferred service for client-side development.
  • Organization Data service is also known as "OData" or "REST" endpoint.
  • Microsoft Dynamics CRM uses Windows Communication Foundation (WCF) to provide REST-based service.
  • It supports JSON and ATOM format.
  • Organization Data service can be used within Web resources, form scripts and ribbon commands.
  • Authentication is provided by the application itself, no need to write authentication code.
  • It implements OData v2 standard.
  • It is deprecated with Microsoft Dynamics CRM 2016, Web API should be used to support Microsoft Dynamics CRM 2016 and future versions.
  • It can return maximum 50 records in a single retrieve operation.
  • It is much fatser as comared to Organization service, because less bytes in JSON message in comparison to SOAP message.

 

Microsoft Dynamics CRM Online 2015 Update 1 - CRM for Phone New Features

Dynamics GP and Dynamics CRM 2011 Account and Contact Sync

See how to quickly and easily synchronize your account and contact data between Dynamics CRM and Dynamics GP.

Business Process in Microsoft Dynamics CRM 2015

SSRS Reports in CRM 2011 Online

Dynamics CRM 2011 Online now supports custom SSRS reports. There's a bit of setup required, though, including the installation of BIDS (part of SQL 2008) and a (free) add-on for CRM known as the Report Authoring Extension. In this video I go through the setup and show some basic SSRS authoring techniques.

Dynamics CRM 2011 : Customization

Dynamics CRM 2011 - Optimize Customer Experience

Demonstration of how Microsoft Dynamics CRM 2011 can be used to optimize customer experience.

Chart Visualization Introduction (1 of 5): Dynamics CRM 2011

This Snack shows how to use chart designer to quickly and efficiently create graphs and charts to monitor business metrics in Microsoft Dynamics CRM 2011 At Training Material Completion After you complete this snack you will be able to:

• Add and delete entities

• Refresh the metadata

• Manage profiles

• Import and export profiles

Microsoft Dynamics Customer Service Capabilities for Property & Casualty Insurance Companies

This video demonstrates customer service capabilities for property and casualty insurance companies featuring Microsoft Dynamics CRM Online. To be successful, companies must be able to attract and retain customers, improve sales processes and offer consistent experiences. For more information, visit http://dyn.ms/CRMhpYTo.

Record Type: Currency

Currency

  • One default currency is defined for organization.
  • Multiple currencies manages conversion rates.
  • For Multiple currencies all transaction recorded in base currency

Opportunity : Related Record To Opportunity

  • Products: View existing products that are part of the Opportunity. For example, the customer might be deciding to purchase a Mountain Bike as part of this Opportunity. This would be seen and managed within this section.
  • Activities: View existing activities or create a new activity for the Opportunity record.
  • Documents: Add a document location associated with the Opportunity record by specifying a URL of an existing SharePoint folder.
  • Connections: Add to the record an individual who has a certain role or relationship to the record.
  • Audit History: View the edit history of the Opportunity record. This also captures the date and time of the modification, along with the old and new values of the specified fields.