Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.
sfdcCreateOpportunity(sfdcConnection, sfdcOpportunity, [sfdcAPIVersion])
DescriptionCreates an opportunity in the Salesforce environment.
Salesforce connection - it is the object resulted from the call to the connectToSalesforce routine
|sfdcOpportunity||SFDCOpportunity||Yes||Structure containing the fields of the opportunity that will be created. This is a predefined structure type described below. When creating an opportunity, there are three required fields that must have values: Name, CloseDate, and StageName.|
|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 required and if empty, the latest available version will be used.
SFDCOpportunity fields and types
string - the Salesforce Opportunity ID
The following example will create an opportunity in Salesforce with the specified fields.
There is no content with the specified labels