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
Jim WarnerJim Warner 

Calling 3rd Party REST API's

I'm working on an integration between our client's Salesforce org and a third party.  They have a few REST API's that I need to call from Apex code and receive back some JSON data.  They have provided pretty good documentation.  They are using OAuth 2.0 for authentication.  The code will need to be run on a scheduled basis and may also be initiated by a user.  I'm a pretty skilled Windows developer in a variety of languages but am new to the force.com platform.  Any resources or sample code you could point me at would be much appreciated.  
Bhushan.AdhikariBhushan.Adhikari
Hi Jim,

Following links might help you get started 
https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts
https://developer.salesforce.com/page/Getting_Started_with_Apex_JSON
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_json_jsonparser.htm

Regards,
Bhushan
Jim WarnerJim Warner
Thanks, I will look at those!