Appearance
License
Retrieve the license state
GET /license
This endpoint retrieves the system license's state.Request Example:
bash
curl --location '{{url}}/license' \
--header 'token;'Retrieve the device ID
GET /license/deviceId
This endpoint retrieves the system's device Id.Request Example:
bash
curl --location '{{url}}/license/deviceID' \
--header 'token;'Activate an online license
POST /license/online
This endpoint activates an online license.Required parameters are activationID and systemID.
- The operation, when successful, will require a new session token. A new login session to get a new token is required for the next calls in an automated script.
Request Example:
bash
curl --location '{{url}}/license/online' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data '{
"systemID": "12345678",
"activationID": "NEFL-XXXX-XXXX-XXXX"
}'Activate an offline license
POST /license/offline
This endpoint activates an offline license.Required parameters are license, activationID, systemID, and filename.
- The operation, when successful, will require a new session token. A new login session to get a new token is required for the next calls in an automated script.
Request Example:
bash
curl --location '{{url}}/license/offline' \
--header 'token;' \
--form 'license=@"/path/to/license.bin"' \
--form 'activationID="NEFL-XXXX-XXXX-XXXX"' \
--form 'systemID="12345678"' \
--form 'filename="license.bin"'