Creates a Salesforce Account record with the given parameters and returns the Account Id of the created Account 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:
Account Name => Name
Account Site => Site
Type => Type
Industry => Industry
Annual Revenue => AnnualRevenue
Rating => Rating
Phone => Phone
Fax => Fax
Website => Website
Ownership => Ownership
The username of the account that will be used for record creation.
The password of the account that will be used for record creation.
The security token associated with the account used for record creation. To reset this value, log into Saleforce using the desired account and navigate to Setup -> My Personal Information -> Reset Security Token. A new token will be emailed to you.
Sets the Account Name field of the Account record
Sets the Account Site field of the Account record
Sets the Type field of the Account record
Sets the Industry field of the Account record
Sets the Annual Revenue field of the Account record
Sets the Rating field of the Account record
Sets the Phone field of the Account record
Sets the Fax field of the Account record
Sets the Website field of the Account record
Sets the Ownership field of the Account record
The Id of the Salesforce Account record that was created