...
...
Syntax
sfdcCreateOpportunity(sfdcConnection, sfdcOpportunity, [sfdcAPIVersion])
Description
Excerpt |
---|
Creates an opportunity in the Salesforce environment. |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sfdcConnection | SFDCConnection | Yes | The Salesforce Connection 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 mandatory required fields that must have values: Name, CloseDate, and StageName. |
sfdcAPIVersion | string | No | The Salesforce API Version 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 required and if empty, the latest available version will be used. |
SFDCOpportunity
...
fields and types
Field | Type |
---|
CloseDate | date |
Name | string |
StageName | string |
AccountId | string |
Amount | number |
Description | string |
LeadSource | string |
NextStep | string |
Probability | number |
Type | string |
Return type
string - the Salesforce Opportunity ID
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|