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
Kris HankinsKris Hankins 

Documentation on callouts

Our company implemented Salesforce about 15 months ago and we are now getting into creating callouts to consume data from different sources. We will be implementing a Customer Portal for our customers to be able to log in and track their equipment. The manufacturer has provided us with a URL to the site feed which will be providing the data. We will be creating the necessary custom objects in Salesforce to store the data and laying the foundation before the Cusotmer Portal becomes live. What I am interested in is creating the call out to the site to reqquest the data. We are looking at retrieving the data at the customer's request so real-time data would be ideal, but end-of-day stats would be doable as most of our customers only want to see what their equipment was doing for any given day anyway. 

Where can I find some documentation, tutorials, etc. on how to create this in Salesforce? 
Shri RajShri Raj

As you might be knowing there are two general types of Callouts in Salesforce. REST & SOAP. Since you mentioned it should be a Realtime, I would suggest for a SOAP where you need to parse External Systems WSDL inside Salesforce and try accessing their Database. But the simplest Method is REST if the first call takes place from the External System. 

Here are the links for various documentations to understand various callouts, syntaxes and procedures. 

https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts#WSDL2Apex
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts.htm
http://www.salesforce.com/us/developer/docs/api_rest/
http://www.salesforce.com/us/developer/docs/api/index.htm

There are also various videos on Youtube which would let you visualize in how to do you want take project forward. 


Goodluck! 
Shri