Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Type

Required

Description

sfdcConnection

SFDCConnection

Yes

Salesforce Connection - it is the object resulted from the call to the connectToSalesforce routine.

sfdcAccountIdstringYesID of the Salesforce account to be retrieved.
sfdcAPIVersionstringNoSalesforce API version to be called when creating the account, it should have the following form:
"vXX.X" - eg: "v43.0", "v42.0".
It is not required and if empty the latest available version will be used.

Return type

SFDCAccount (predefined type)

Example

The following example will get information about the account in Salesforce.

Code Block
SFDCConnection conn = connectToSalesforce("SFDC_test");
logPrint("WARN", "Connected to SF: " + conn.instance_url + " - " + conn.access_token);

SFDCAccount acc;

acc = sfdcGetAccount(conn, "???????????account ID",  "v43.0");
logPrint("WARN", "Retrieved the account: " + acc);

...