Get License Key for Offline activation by an API call
Summary: Community_Admin describes a method to obtain a Sisense activation key through an API GET call, facilitating the offline activation of multiple instances, particularly for OEM vendors. The process involves making a GET request with specific parameters and requires an authentication token provided by an Account Manager. The offline activation itself is still manual via the standard installation GUI. This method aims to streamline the batch generation of license keys.
There is an option to get an activation key using an API GET call to the Sisense licensing server rather than needing to log into the Sisense site to obtain this information.
Use case:
This method helps generating license keys in a batch when you need to offline-activate many Sisense instances. Mostly used by OEM vendors of Sisense.
Please note that currently the offline activation is still performed using the standard installation GUI (manually).
Process:
To get an activation key, perform a GET call to:
http://l.sisense.com/lc/get
With the following parameters:
email - the licensed user e-mail (not necessary the account owner)
password - the user’s password
mid - the machine id - as supplied in the activation UI, or by running the exe file.
This file should be run in command prompt so you can see the output
enc - true
Javascript Example:
Authentication token:
You will need to ask your Account Manager to deliver you your own authentication token.
Add a header named: ‘Content-MD5’ with the token as a value, as part of each call.
If the call is successful you should get a 200 OK return code and the activation key in the response body.
Was this article helpful?