License API
License Activation/Deactivatio...
License Activation Offline
10min
Currently we support trial, perpetual and consumption license types for offline activation purposes
This endpoint handles offline activation of a license for a specific computer identified by hardware ID via ls_activation.req file
POST
Params
Header Parameters
Date
required
String
eq. Thu, 17 Nov 2022 20:51:35 GMT
Authorization
required
String
See signing of the License API calls article.
Body Parameters
Payload
required
Object
Base64 encoded JSON
Curl
Node.js
JS
Python
Ruby
|
RESPONSES
200
400
|
If using multipart/form-data file form parameter is obligatory
{
"app_ver":"LicenseSpringSample1.2.0.0",
"hardware_id":"A53F-0CBC-15FC-7E81-BF35-A720-A575-7C0C-8815-0463-DB78-E674-D140-CF15-85BB-EC01",
"ip_local":"10.10.103.157",
"os_hostname":"ddd.aaaa.com",
"os_ver":"Microsoft Windows NT 6.2.9200.0",
"product":"TP",
"sdk_ver":"4.3.1",
"license_key":"FUH3-4E7A-LZJL-7JTP",
"username": "test@example.com", // if user based licenses
"api_key":"11abafc3-10b2-474a-b818-aaaf97c7512e",
"date":"Tue, 14 May 2019 14:26:07 GMT",
"request":"activation",
"request_id":"2edf98fe-29cb-4c7c-b1fa-7ed7ea2acb6b",
"signature":"\/cK16QtcRBIPRMyy2igaIUJVCNa2lz2ZazjaaHD\/BRw="
}
missing_headers (400): some headers are missing
- when missing authorization or date headers
missing_parameters (400): some parameters are missing in the request: different, parameters
- when no request body at all or no file found in request body
authorization_missing_params (400): some parameters are missing in authorization: different, parameters
- when has request body but request body is not properly base 64 encoded
- when file is missing in request body
- when license_key or hardware_id body parameters are missing
- when data body parameter is missing
- when api_key parameter is missing
Please note that the body is text, aka base64 encoded json
If you want to use this api endpoint directly, instead of using SDK, which does most of heavy lifting for you, please contact us for additional instructions
If any aspect of the offline licensing model remains unclear or raises questions, we encourage you to explore our in-depth guide on link
This resource offers a comprehensive explanation of the offline licensing process, how it operates, and ways to utilize its advantages for your specific software applications




Updated 22 Sep 2023
Did this page help you?