Get License Info
Checks the current state of the license.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
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 |
---|---|---|---|
action
|
string |
|
The action that is invoked |
method
|
string |
|
The method that is invoked |
data
|
string |
|
|
type
|
string |
|
Type of communication protocol |
tid
|
integer |
|
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": 0,
"usedVms": 0,
"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
|
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |
data
|
array | License data |
data
Field
|
Value
|
Description
|
---|---|---|
|
boolean | true if a license is registered |
|
string |
License serial number |
|
string |
The client name |
|
int | Number of used sockets |
|
int |
Number of used VMs |
|
int |
Number of used EC2 instances |
|
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 |
|
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 |