Versions Compared

Key

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

...

sfdcQuery(sfdcConnection, soqlQuery, [sfdcAPIVersion])

Parameters

Parameter

Type

Required

Description

sfdcConnection

SFDCConnection

Yes

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

sfdcQuerystringYesSOQL query, see more information in the Salesforce documentation.
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

json JSON string

Example

The first part of the example will get the names of the accounts from Salesforce and the second part will get ID and names of the Salesforce opportunities.

...