Get Active Licenses

Description

Get Active License returns all active licenses on the Controller. The returned licences will give access to LicenseId, DateActivated, ExpireDays, and LicenseType licenses. 

Request URL

http://{controllerMachine}:{controllerPort}/api/v4/license/active

Examples

Curl

curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v4/license/active'

PowerShell 

$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v4/license/active" -ContentType "application/json" -Headers $headers -Method GET

Response Body

List of variables:

[

    {

        "$id": "1",

        "LicenseId": "5d13fce3-2233-167f-10db-ba9c8c378b4f",

        "DateActivated": "2019-08-07T12:01:52+00:00",

        "ExpireDays": 251,

        "LicenseType": "Trial"

     }

]

Response Object

Field Type Description Values
$LicenseId String Unique license ID  
DateActivated Date Date of license activation   
ExpireDays Integer Days remaining for licence   
LicenseType string Type of license  Trial/Platform etc.


Response Code

List of response codes:

200 (OK)

404 (Not Found)

401 (Unauthorized)

400 (Bad Request)

500 (Internal Server Error)