Skip to Content
May 20, 2015 at 08:29 PM

Using a Token to Log In


We're working on an app that will use both the .NET SDK and the RESTFul Web Services SDK for various parts of its processing. The .NET SDK is used to log in to the system to verify a user and to get various information that is not available through the RESTful SDK. The RESTFul SDK is used to replace code that used to use the ReportEngine to get parameter info about a Webi report and to get an OpenDocument URL for viewing a report.

The client that this is for has a limited number of concurrently licenses, so the goal is to log in using the .NET SDK, get a logon token that is valid for 100 minutes and 50 logon, then log out to release the session. Then each time that the SDK needs to access BO, logon using the token, do the work, and then log out again. However, I haven't been able to find any code for using this token for logging in to the RESTful web services. Is this possible? Or do I have to have a Serialized Session,which means logging in twice - once with the .NET SDK to get the session and then again into RESTful to get the report info?

Does anyone have any thoughts on this?