Search

Get Record

Last Updated: Nov 4, 2020

Articles

Use this function to fetch a record details from the salesforce based on the given type of input.

Syntax

Get Record (token, username, password,record_id)

Parameters

Input Parameter Name Description
token Token used to connect to particular salesforce account
username Salesforce account username
password Salesforce account password
record_id ID of the Record to fetch the details

To get record_id:

  • Login to Salesforce, go to All Apps->Services->Accounts.
  • Click on account name to get the record_id.

Returns

Return Value Description
Output
  • On Success: 1, Record content
  • On Failure: 0, Error Message

Sample

Get Record (ABCDCEF, new_user, pass@123, ER-90)

  • Uses the token ‘ABCDCEF’ to connect to the salesforce with username ‘new_user’ and password ‘pass@123’, gets the details of the record ‘ER-90’.
    Returns the ‘Record content’ of the record.

To view all the Salesforce functions, click here.

Did you find what you were looking for?