5241 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.

 

SYED ABUZAR
very helpful info bo....
Suresh Maurya
Thanks

Sync, create and manage CRM appointments on your iPad

Activity Feeds Auto Post Workflow (5 of 5): Dynamics CRM 2011

This snack explains how activity feeds allows users to stay up to date on the CRM records that are most important to them. After you complete this snack you will be able to:

• Install activity feeds

• Configure entities for activity feeds

• Disable activity feeds rules

• Auto post activity feeds

Creating Workflows - Microsoft Dynamics CRM 2011

This CRM 2011 video goes through how to create 2 workflows:

  1. Notification when an opportunity hits the proposal stage in the sales cycle AND it is above $250K
  2. Updating the Account to Relationship Type = Client when an Opportunity is WON.

Office 2010 / Microsoft Dynamics CRM Demo -- Coordinating Sales and Customer Support (Part 1 of 2)

In this demonstration, you will see how the user, such as an account manager, can easily access customer information from a central dashboard in SharePoint Server 2010, and also seamlessly access customer data stored in Microsoft Dynamics CRM.

Microsoft Dynamics CRM 2013 Processes New Features - Real Time Workflows

Quick Tips for CRM for Tablets

What are the minimum privileges require creating a solution?

  1. Read write of customizations.
  2. Read write of publisher
  3. Read write of solution
  4. Read write of web resource
  5. Import and export customizations
  6. Publish customizations.

Upgrading from Microsoft Dynamics CRM 2013 to 2015

Invoice Management

Invoices are requests for payment from a business to its customers.

Installing and Configuring the Outlook client for Microsoft Dynamics CRM 2011