Syntax
sfdcGetOpportunity(sfdcConnection, sfdcOpportunityId, [sfdcAPIVersion])
Description
Retrieves data related to an opportunity from the Salesforce environment.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sfdcConnection | SFDCConnection | Yes | The Salesforce Connection - it is the object resulted from the call to connectToSalesforce routine |
sfdcOpportunityId | string | Yes | The ID of the Salesforce opportunity to be retrieved. |
sfdcAPIVersion | string | No | The Salesforce API Version to be called when creating the opportunity; it should have the following form: "vXX.X" - eg: "v43.0", "v42.0". It is not mandatory, if missing the latest available version will be used. |
Return type
SFDCOpportunity (predefined type)