activateLicense
About 1 min
activateLicense
Description: Activate a license key. Admin
If a key cannot be activated online, the system creates a file for offline activation.
Request example:
{
"method" : "activateLicense",
"requestId" : "1",
"key" : "G3K3-E929-837P-BHNQ-GKAV-GSLH-T5YU-3TJ8-ECWD-YBRV-J7A2"
}Response example:
{
"method" : "activateLicense",
"requestId" : "1",
"status" : "processing",
"result" : true
}If a key cannot be activated online:
{
"method" : "activateLicense",
"requestId" : "1",
"status" : "offline",
"fileId" : 451995367,
"result" : true
}If the license key is entered in an invalid format
{
"method" : "activateLicense",
"requestId" : "1",
"status" : "invalid",
"error" : "Wrong key format",
"result" : false
}Parameter description:
status— the license key status; the following values are possible:valid— the activation was successfulinvalid— activation erroroffline— if online activation is unavailableprocessing— the activation data are being processed by the licensing server
key— License keyfileId- the ID of the created file on the built-in HTTP server, which was previously uploaded and will be used for offline registration.requestId- a unique request identifier. You can find more details about it here.
See also: