Inserting data into Salesforce using Web Service API

To insert data from external application to Salesforce, create() method is used.

create ()

create () add one or more new records to your organization’s data. Use create () to add one or more records, such as an Account or Contact record, to your organization’s information. create () call is analogous to the INSERT statement in SQL.


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

where connection is an object of EnterpriseConnection.

Sample JAVA Program to Insert data into Salesforce


No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit