Page tree

Checks the current state of the license.

Endpoint

https://<Director_IP_address>:4443/c/router

Request Example

curl
 curl --request POST \
    --url https://<Director_IP_address>:4443/c/router \
    --header "content-type: application/json" \
    --cookie @cookies.txt \
    --data "{
        "action": "LicensingManagement",
        "method": "getLicenseInfo",
        "data": null,
        "type": "rpc",
        "tid": 1}"

Request Fields

Field
Type
Value(s)
Description
actionstring

LicensingManagement

The action that is invoked
methodstring

getLicenseInfo

The method that is invoked
datastring

null


typestring

rpc

Type of communication protocol
tidinteger

1

Transaction ID. Used to identify the request by both the client and the server

Response Sample

 {
    "action": " LicensingManagement",
    "method": " getLicenseInfo",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": {
            "installed": true,
	      	"serial": "D3ECEAFE-3BB0-476D-A718-39A04C1E5FD8",
			"client": "NAKIVO",
			"usedSockets": 2,
			"usedVms": 3,
			"usedEc2Instances": 0,
			"usedPhysicalServers": 0,
   			"usedPhysicalWorkstations": 0,
		 	"usedOffice365Users": 0,
        	"usedOracleDatabases": 0,
        	"usedMonitoredVms": 0,
        	"usedTotalNasSize": 0,    
			"serverTime": "2018-12-12T17:04:39.043+02:00"
			"hasExpiration": true,
      		"expiresIn": 8646146000,
       		"type": "ENTERPRISE_PLUS"
           }
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure
dataarrayLicense data

data

Field
Value
Description

installed

booleantrue if a license is registered

serial

string

License serial number

client

string

The client name

usedSockets

intNumber of used sockets

usedVms

int

Number of used VMs

usedEc2Instances

int

Number of used EC2 instances

usedPhysicalServers

int

Number of used physical servers

usedPhysicalWorkstations

int

Number of used physical workstations

usedOffice365Users

int

Number of used Microsoft 365 users

usedOracleDatabases

int

Number of used Oracle databases

usedMonitoredVms

int

Number of monitored VMs

usedTotalNasSize

int

Total used NAS space

serverTime

string

Date and time on the server

hasExpiration

boolean

true if license has an expiration date

expiresIn

int

Time until license expiration in milliseconds

type

string

License type

  • No labels