Updates a Salesforce Contact record with the given parameters and returns the Contact Id of the updated Contact record. The parameters are mapped directly to their respective fields.
By downloading this file, you acknowledge that you agree to our Terms of Service
Creates a Salesforce Opportunity record with the given parameters and returns
the id of the new Opportunity record.
This handler essentially has two phases: authentication and record creation.
* The handler uses the SOAP API login method to retrieve the authentication
details that are required for making the REST API requests. The required
authentication values are instance and session id, these two values are
retrieved by the login() helper method in the handler.
* The handler uses the REST API to create the Salesforce record. The Salesforce
record simply contains mappings provided by the @field_values instance
variable. The handler's parameters are mapped to Salesforce fields in the
node.xml as show here:
- Opportunity Name => Name
- Close Date => CloseDate
- Stage => StageName
- Private => IsPrivate
- Type => Type
- Lead Source => LeadSource
- Amount => Amount
- Next Step => NextStep
- Probability => Probability
|Opportunity Name||Sets the Opportunity Name field of the Opportunity record|
|Close Date||Sets the close Date field of the Opportunity record|
|Stage||Sets the Stage field of the Opportunity record|
|Private||Sets the Private field of the Opportunity record|
|Type||Sets the Type field of the Opportunity record|
|Lead Source||Sets the Lead Source field of the Opportunity record|
|Amount||Sets the Amount field of the Opportunity record|
|Next Step||Sets the Next Step field of the Opportunity record|
|Probablility||Sets the Probablility field of the Opportunity record|
|Opportunity ID||The Id of the Salesforce Opportun ity that was created|