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

Requirements to Gather Before Making a thirdParty Rest Call

Can anyone give me an Idea what is the information

i need to take from the thirdParty RestProvider to access the Rest Service . 


Like Reqirements gathering ..??



Hi Dinesh,


You need to use HTTP callout 


public class AuthCallout {

 public void basicAuthCallout(){
 HttpRequest req = new HttpRequest();

 // Specify the required user name and password to access the endpoint 

 // As well as the header and header information 

 String username = 'myname';
 String password = 'mypwd';

 Blob headerValue = Blob.valueOf(username + ':' + password);
 String authorizationHeader = 'BASIC ' +
 req.setHeader('Authorization', authorizationHeader);

 // Create a new http object to send the request object 

 // A response object is generated as a result of the request   

 Http http = new Http();
 HTTPResponse res = http.send(req);


See the detailed documentation below and reply back if you are looking at anything specific,





Thanks Ashish that defenitely helps me understand how to use the Code base. 

But i am looking at the high end information i need to gather from thirdparty vendor to actully Code in Salesforce ..


Just lilke i know i have to get the Details of other Org ..


when calling giving Out Salesforce RestService URL .. i will have to provide the comsumers

UserName Password ,client Id and Secret id along with mapping URL . 


When i wanted to Call a Rest Service that is Coded in java apart from End Point URI what are the other paramenters i need from them so that i can make a succesfull connection with the system.. 




Hi Dinesh, 

Are you trying to get the details from 3rd party client into Salesforce or Salesforce data into 3rd party App.