function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sunil2018sunil2018 

how it is decided that salesforce Integration with external system should use RESP API or SOAP API??

1. While salesforce integration planning, how it is decided that salesforce Integration with external system should use RESP API or SOAP  API?

2. can someone give me steps required  for Inboud and outboud REST API integration.
ShirishaShirisha (Salesforce Developers) 
Hi Sunil,

Greetings!

We have to decide when to use the REST or SOAP based on the data and the form of Data.

>>If there is huge data and less preferred security then you can go for the REST API and is the security is the main concern then you can go for the SOAP API.

Please find the other main details related to both the APIs in the below blogs for clarification on when to use which API.

https://www.forcetalks.com/blog/when-to-use-rest-when-to-use-soap/

Also,in inbound and outbound calls you need authorize the salesforce org which is common for both the services.

Please find the more information in the below blog:

http://www.sandeeparora.org/2016/11/salesforce-inbound-outbound-integration/

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
 
AnudeepAnudeep (Salesforce Developers) 
Hi Sunil - Here is the reasoning

When to Use REST API

REST API provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it’s an excellent choice of technology for use with mobile applications and web projects. For certain projects, you may want to use REST API with other Salesforce REST APIs. To build UI for creating, reading, updating, and deleting records, including building UI for list views, actions, and dependent picklists, use User Interface API. To build UI for Chatter, communities, or recommendations, use Connect REST API. If you have many records to process, consider using Bulk API, which is based on REST principles and optimized for large sets of data.

When to Use SOAP API

SOAP API provides a powerful, convenient, and simple SOAP-based web services interface for interacting with Salesforce. You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. Use SOAP API in any language that supports web services.
For example, you can use SOAP API to integrate Salesforce with your org’s ERP and finance systems. You can also deliver real-time sales and support information to company portals and populate critical business systems with customer information.

See this documentation to learn more

I recommend looking at the REST/SOAP API developer guides to learn the steps required

Introduction to Apex REST

Introduction to SOAP API

If you find this information helpful, please mark this answer as Best. It may help others in the community. Thank You!

Anudeep