Skip to main content
Kinetic Community

Salesforce Contact Update

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.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

salesforce_contact_update_v1.zip

Detailed Description

Updates a Salesforce Contact record with the given parameters and returns the
Contact Id of the updated Contact 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 update 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:
  - Salutation              => Salutation
  - First Name              => FirstName
  - Last Name               => LastName
  - Title                   => Title
  - Department              => Department
  - Mailing Street          => MailingStreet
  - Mailing City            => MailingCity
  - Mailing State/Province  => MailingState
  - Mailing Zip/Postal Code => MailingPostalCode
  - Mailing Country         => MailingCountry
  - Phone                   => Phone
  - Home Phone              => HomePhone
  - Mobile                  => MobilePhone
  - Fax                     => Fax
  - Email                   => Email
  - Description             => Description

Parameters

Name Description
Contact ID   The Id of the Salesforce Contact record that will be updated
Salutation   Sets the Salutation field of the Contact record
First Name   Sets the First Name field of the Contact record
Last Name   Sets the Last Name field of the Contact record
Title Sets the title field on the contact record
Department Sets the department of the contact record
Mailing Street Sets the mailing street of the contact record
Mailing City Sets the mailing cith of the contact record
Mailing State/Province Sets the mailing state/province of the contact record
Mailing Zip/Postal Code   Sets the Mailing Zip/Postal Code field of the Contact record
Mailing Country Sets the mailing country field of the contact record
Phone Sets the phone of the contact record
Home Phone Sets the home phone of the contact record
Mobile Sets the mobile phone of the contact record
Fax Sets the fax number of the contact record
Email Sets the email of the contact record
Description Sets the descritption field on the contact record

Results

When succesful, this handler returns no results

Change Log

Version Date Description
V1 2011-04-28 Initial Version