To create TMY data request, user with Company admin role needs to generate token for communication. Token, in addition to other necessary information, contains information about the used subscription and user (for the case of user tokens). Based on the valid token information request is further processed.
System supports generation of two types of tokens as described in the “TMY introduction section” :
User tokens – tokens are directly connected with user for whom it is generated
Userless tokens – anonymous tokens but with the same purpose as “User tokens”
When token is generated, it must be saved by user - generated token cannot be retrieved from database after the window for token generation is closed
User tokens
Token generation
To generate user token, user with Company admin role needs to firstly assign user to the subscription. Once the user is assigned, system will activate option to “Generate token” for the selected user. By selecting this option system displays modal window with generated token. Admin can either copy token to clipboard or download the token in csv format. Generated token cannot be retrieved thus it is important to store it before closing modal window with generated token.
Note: When a user is removed from company or API Subscription, all user’s tokens are deleted.
Edit generated tokens
For each assigned users, user with Company admin role can generate multiple tokens. “Edit tokens” option is displayed when at least one token was already created.
Tokens overview
Company admin can manage generated tokens through overview page that is displayed via “Edit tokens” option
Userless tokens
Userless tokens work on the same principle as user tokens. However, since these tokens are not connected with any user, it is possible to generate them without necessity of user activation. It brings a small drawback – it isn’t possible to identify, who/whose token was used for TMY data generation. (It is possible to track which token was used for the action).