No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Setting a Session Header
All HTTP requests must contain a valid API session ID obtained with the SOAP API login() call. The session ID is returned in the SessionHeader.
The following example shows how to specify the required information once you have obtained it from the login() call.
1POST /service/async/33.0/job/ HTTP/1.1
2Content-Type: application/xml; charset=UTF-8
3Accept: application/xml
4User-Agent: Salesforce Web Service Connector For Java/1.0
5X-SFDC-Session: sessionId
6Host: na5.salesforce.com
7Connection: keep-alive
8Content-Length: 135
9
10<?xml version="1.0" encoding="UTF-8"?>
11<jobInfo
12 xmlns="http://www.force.com/2009/06/asyncapi/dataload">
13 <operation>insert</operation>
14 <object>Account</object>
15</jobInfo>