Updating data into Salesforce using Web Service API

To update data in Salesforce using external application, update () method is used.

update ()

Update one or more existing records in your organization’s data. Use this call to update one or more existing records, such as accounts or contacts, in your organization’s data. The update () call is analogous to the UPDATE statement in SQL.

Syntax

SaveResult[] = connection.update(sObject[] sObjects);

where connection is an object of EnterpriseConnection.



Cheers!!!

No comments:

Post a Comment