Integration using Rest API
Author
February 2, 2016
Pranshu Goyal, Director of Products at Mirekta, states: “We envision DSM to be used by every small to a medium-sized organization dealing with bad data and want to get rid of duplicates easily with no cost. We have faced issues dealing with duplicates in our organization. That inspired us to make a solution that is not only simple to use but can be used widely to make the organization’s data clean to make them more efficient and productive. We want DSM to be a solution for every organization looking for duplicate management capability better than the Salesforce out-of-the-box solution with no additional cost.”
What is REST
REST is Representational State Transfer which helps two systems to talk to each other with a common programmatic language. Rest is a successful replacement for HTTP.
Integration in Salesforce can be done in the following steps: -
- Configuration.
- Call out.
- Web services.
Configuration: -
Configuration is a process that is needed in Salesforce as well as in the external system.
Configuration in salesforce provides the endpoint of the external system with which integration needed to be done. We need to create a site and connected app for configuration.
Call out: -
It contains three classes which have respective methods to perform respective functions to interact with the other systems.
A) HTTP: -We use this class to initiate the http request and http response.
B) HTTP request: –
This make use of HTTP verbs: get (), post (), put (), delete (). These are the methods which indicate the functionality to be executed by the request method i.e. the type of request such insert, delete or update records to be made in the other system.
c) HTTP response:
This is the class which helps to handle the response send by the external systems (HTTP.send () operation)
Web services: -
We can write our own custom web service through apex code, which an external environ can invoke and the external environ can access our code and force.com application.
It has two methods Rest services () and Rest response ().
Integration can be done with SOAP also but REST is preferred over SOAP as it is light weighted, supports XML and Jason unlike Soap which supports only Xml.
Recent Posts
-
Salesforce 2025 Game-Changing Trends You Need to Know28 Jan 2025 Blog
-
Agentforce 2.0: Everything You Need to Know About the Latest Update22 Jan 2025 Blog
-
The Ultimate Guide to NetSuite Development: Tools and Techniques10 Jan 2025 Blog
-
How Salesforce Nonprofit Cloud Transforms Fundraising Strategies10 Jan 2025 Blog
-
The Impact of Salesforce Development Partners on Small and Medium Businesses08 Jan 2025 Blog
-
Key Questions to Ask When Hiring a NetSuite Development Partner08 Jan 2025 Blog
-
Salesforce Agentforce Demystified: Your Essential Guide08 Jan 2025 Blog
-
Salesforce and NetSuite Integration: Driving Business Efficiency with Precision06 Jan 2025 Blog
-
Everest Group has positioned Mirketa as an Aspirant in the report24 Dec 2024 Press Release
-
Salesforce Einstein20 Dec 2024 E-Book
-
Order to Cash Cycle with NetSuite20 Dec 2024 E-Book
-
Empower Your Marketing Strategy with Salesforce Marketing Cloud's Automation Studio Activities13 Dec 2024 Blog
-
Salesforce CPQ for Subscription-based Businesses10 Dec 2024 Blog
-
Unleashing the Magic of Einstein Prediction Builder10 Dec 2024 Blog
-
Customized Templates and Branding with Salesforce Experience Cloud10 Dec 2024 Blog
Categories
Featured by



