Get Session/Token from OpenAPI

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Get Session/Token from OpenAPI

Postby andrius.andrijauskas@boeing.com » Thu Mar 21, 2019 9:46 am

Looking to get SessionID and/or token from OpenAPI when logged into TWC.

It seems that it can be done by using EsiUtils, something like --- EsiUtils.getTeamworkService().getLastUsedLoginInfo(). When I run this I get my login name, password, secureConnection, but authToken is an empty string, why?

Does something need to be enabled for this to be returned?

Or perhaps a different approach can be used to get authToken locally when TWC connection is active?

Also is there a way to get a SessionID via OpenAPI

Thank you!
andrius.andrijauskas@boeing.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Wed Oct 11, 2017 12:01 pm

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 1 guest