How to use a session token with soap or rest?


I’m trying to consume a SOAP/Rest API that authenticates the session and sets a sessiontoken. Here is from the doc “Authentication is sessions based. The requester must provide a valid session token in the Authenticate field of each request. A session has access to the same resources and capabilities as the given user. To get a session token, use the GetSessionToken method.” I can successfully create a soap request to get a session token and store it in a variable. How can I use this session token for further soap requests? Seems like there is a new soap session for each request.


This may help: