You need to sign in to do that
Don't have an account?
Rudra
Integration between two salesforce orgs using rest api intregration
I have a requirement to integrate between two salesforce applications(orgs). The integration I need to used is rest api integration.
Please help me by giving me a head start how should I begin.
To be more specific my requirement is to exectue a search functionality in one salesforce org which fetchs and displays data present another salesforce org using rest api integration.
Please help me by giving me a head start how should I begin.
To be more specific my requirement is to exectue a search functionality in one salesforce org which fetchs and displays data present another salesforce org using rest api integration.
There are basically three parts
-
Authentication : You can use OAuth
-
Writing Apex Webservices Class : This is needed for all custom search logic you want http://blogforce9.blogspot.in/2013/09/salesforce-rest-webservices-part-i.html
-
Call the Rest Webservice from Destination org http://blogforce9.blogspot.in/2014/02/tooling-api-js-remoting-jsrender.html
I have also linked you some related blogs, they may not give you the straigth solution but will give you an Idea on how to proceedThis will help you for sure.Here rest api integration is performed by taking example of two salesforce system.
https://www.sfdc-lightning.com/2019/01/salesforce-rest-api-integration.html
Please mark this as best answer if this helps you.
Steps-:
1)Go to setup in source org->search->App Manager in quick find->Create Connected App.
2)After this Develop Apex RestService in the Same Source Org.
Sample code: In this, I am Fetching Account. 3)Now, We use the above Apex Rest Service in Target Salesforce Org.
Sample code-:In this I am fetching accounts from one org to another.
You can take references from this link.
http://amulhai.blogspot.com/2015/11/salesforce-to-salesforce-integration.html
If you find your Solution then mark this as the best answer.
Thank you!
Regards
Suraj Tripathi