...
sfdcQuery(sfdcConnection, soqlQuery, [sfdcAPIVersion])
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sfdcConnection | Yes | Salesforce Connection - it is the object resulted from the call to the connectToSalesforce routine. | |
sfdcQuery | string | Yes | SOQL query, see more information in the Salesforce documentation. |
sfdcAPIVersion | string | No | Salesforce 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.
...