function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pal2011Pal2011 

Import data using Salesforce API

Hi,

 

I'm very new to Apex development. I need to import records using Salesforce.com API. I'm having an XML file coming out from SAP which has accounts record with different field information as an attribute. I need to create a webservice on salesforce.com side which will retrieve an XML file coming out from SAP, parse an XML, and insert an account record if record doesn't exist in the database.

 

I looked in to an Apex developer's guide in order to create a webservice and making call outs, but I'm still not clear how to do this.

 

Can anyone help me with some example code?

 

Thanks.