9285 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

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.

Connect To Microsoft Dynamics CRM Using Organization Service Context

OrganizationServiceContext is alternative to OrganizationServiceProxy to connect to Microsoft Dynamics CRM programmatically.

To create OrganizationServiceContext object pass IOrganizationService object to constructor.

IOrganizationService service = new OrganizationService("connection");
OrganizationServiceContext context = new OrganizationServiceContext(service);

Entity entity = new Entity("account");
entity.Attributes["name"] = "This is my sample account";

context.AddObject(entity);
context.SaveChanges();

context.AccountSet.ToList().ForEach(a => Console.WriteLine(a.Name));

OrganizationServiceContext class can be generated by the code generation tool (CrmSvcUtil.exe). 

Learn more about OrganizationServiceContext.

What are methods in IOrganizationService

  • Use the IOrganizationService.Create method to create an instance (record) of any entity that supports the Create message, including custom entities.
  • Use the IOrganizationService.Retrieve method to retrieve an instance (record) of an entity.
  • Use the IOrganizationService.RetrieveMultiple method to retrieve a collection records. The query can be specified using a query expression or Fetch XML query. If the query includes an aggregate function.
  • Use the IOrganizationService.Update method to update an existing record.
  • Use the IOrganizationService.Delete method to delete an existing record.
  • Use the IOrganizationService.Associate method to create a link between two records that participate in a relationship.
  • Use the IOrganizationService.Disassociate method to delete the link between two records.
  • Use the IOrganizationService.Execute method to execute a message. This includes common processing like create and delete of data records and metadata, or it can be specialized processing such as import or detect duplicates.

Microsoft Dynamics CRM 2013 Setup and Upgrade New Features - Data Encryption

Microsoft Dynamics CRM 2011: Implementing Claims and IFD: Part 3

This session will cover how to configure the Dynamics CRM server for Claims-Based Authentication.

Add Marketing Capabilities - Microsoft Dynamics CRM 2011

In this video we review:

  • Marketing Lists
  • Campaigns
  • Quick Campaigns

We also give some recommendations on how you can easily phase marketing capabilities into your current CRM implementation.

Microsoft Dynamics CRM 2013 Business Process Overview

[Job] - L & T : Microsoft Dynamics CRM Sr. Developer (Spanish & English Speaking), United States

Company: L & T Infotech

Location: Farmington, CT, United States

Job Description
Job Code: 14465
Title: Microsoft Dynamics CRM Sr. Developer (Spanish & English Skeaking)
Location: Farmington, CT, United States
Description:

*Language Required
•Spanish & English

* Skills

1.Education – B.E., B. Tech, MCA, Around 5 to 8 yrs or more years of relevant experience.
2.Certified professional (Configurations, customizations and Extensions) and having experience in
Installation (considering accessing via Microsoft Outlook and Mobile), customizations in On-Premise, Online model (considering best practices within Microsoft Dynamics CRM), and customization of reports in On-Premise and Online model. {Experience in Online model a must}
1.Experience in Integration with third party applications.
2.Working knowledge of Microsoft SQL Database, Windows Server Operating System, Active Directory and Active Directory Federation Services.
3.Experience in SSIS (SQL Server Integration Services) and aware of sizing of hardware and software would be an added advantage
4.Project Lead experience
5.Understanding of standard available sales, marketing and service module functional flows
6.Experience in developing reports in SSRS (SQL Server Reporting Services), xml based reports a must
7.Awareness and working experience of various technologies like HTML, CSS, SOAP, REST, Silverlight, Angular JS

* Required Experience (Same as Relevant Experience)

1.5 to 8 yrs or more years of MS CRM Sr. Developer / Technical experience

* Job Responsibilities

1.Technical consultant with MS CRM background, having worked on the MS CRM product extensively and done 4 - 6 end to end implementations.
2.Worked on CRM 2013 version onwards until latest version.
3.Also having done projects on premise and cloud, support, upgrade and migrations.
4.Aware of mobility in MS CRM CRM and access of MS CRM via Outlook - Online and Offline.
5.Knows the MS Sure Step methodology well; able to articulate and understand the pain points of customer.
6.Design the solution, configure and customize to address the pain points and deliver it is one of the key responsibilities.
7.Design, develop solutions, identify bugs and resolve the issues/bugs.
8.Preparation of technical related documentations.
9.Should be customer facing with excellent analytical and communication skills.
10.Lead a team of resources, allocation and estimation of tasks.
11.Troubleshooting any issues.

Key Skills: Microsoft Dynamics CRM Sr. Developer (Spanish Speaking)
Education Qualification: Associate Degree

Microsoft Dynamics CRM Powers Sales Teams On The Go

Web services to involve in data access?

  1. REST endpoint

The REST endpoint provides a ‘RESTful’ web service using OData to provide a programming environment. It is the recommended web service to use for tasks that involve creating, retrieving, updating and deleting records.

  1. SOAP endpoint

The SOAP endpoint provides access to all the messages defined in the Organization service. However, only the types defined within the WSDL will be returned.

Color Grid for Dynamics 365

Color Form for Dynamics 365