No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Step 1: Logging In Using the SOAP API
The Bulk API doesn't provide a login operation, so you must use SOAP API to log in.
To log in to Salesforce using cURL:
- Create a text file called login.txt containing
the following text:
- Replace your_username and your_password with your Salesforce user name and password.
- Using a command-line window, execute the following cURL command:
The Soap/u/ portion of the URI specifies the partner WSDL. You can use Soap/c/ to specify the enterprise WSDL.
- Salesforce returns an XML response that includes <sessionId> and <serverUrl> elements. Note the values of the <sessionId> element and the first part of the host name (instance), such as na1-api, from the <serverUrl> element. Use these values in subsequent requests to the Bulk API.