Posts

Showing posts from February, 2020

How do I find my API URL in Salesforce?

The API URL of Salesforce may be different. For example, after the login in the CRM you can use the domain URL:   https://eu6.salesforce.com/ . However, it should look like   https://eu6.salesforce.com/services/data/v31.0/   that means you use the   domain URL   and add   services/data/v31.0/ to it.

Log In Using the SOAP API

The Bulk API doesn't provide a login operation, so you must use SOAP API to log in. Create a text file called  login.txt  containing the following text: 01 <? xml   version = "1.0"   encoding = "utf-8"   ?> 02 < env:Envelope   xmlns:xsd = " http://www.w3.org/2001/XMLSchema " 03      xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " 04      xmlns:env = " http://schemas.xmlsoap.org/soap/envelope/ " > 05    < env:Body > 06      < n1:login   xmlns:n1 = "urn: partner.soap.sforce.com " > 07        < n1:username >your_username</ n1:username > 08        < n1:password >your_password</ n1:password > 09      </ n1:login > 10    </ env:Body > 11 </ env:Envelope > Replace  your_username  and  your_password  with your Salesforce user name and password. Using a command-line window, execute the following cURL command: 1 curl  https://login.salesforce.com/services/So...