Skip to main content

GetLicenseInfo

Will retrieve information about the status of your current license.

Syntax​

Method ID​

#define WAAPI_MID_GET_LICENSE_INFO 2

JSON Input Structure​

{
"input": {
"method": 2
}
}

Input Properties​

This method does not require any additional parameters beyond the method ID.

JSON Output Structure​

{
"result": {
"method": 2,
"code": number,
"timing": number,
"timestamp": string,
"detection": {
"licensed": boolean,
"expired": boolean,
"expiration": string
},
"manageability": {
"licensed": boolean,
"expired": boolean,
"expiration": string
},
"vulnerability": {
"licensed": boolean,
"expired": boolean,
"expiration": string
},
"removal": {
"licensed": boolean,
"expired": boolean,
"expiration": string
},
"deviceinfo": {
"licensed": boolean,
"expired": boolean,
"expiration": string
},
"driver": {
"licensed": boolean,
"expired": boolean,
"expiration": string
},
"advancedbrowser": {
"licensed": boolean,
"expired": boolean,
"expiration": string
}
}
}

Output Properties​

PropertyTypeDescription
result.methodnumberThe method ID that generated this result.
result.codenumberThe result code. See Result Codes.
result.timingnumberThe measured time for the method call in milliseconds.
result.timestampstringThe timestamp in seconds of when the call was made.
result.detectionobjectThe license details regarding the detection module.
result.detection.licensedbooleanTrue if the module is included under the current license.
result.detection.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.detection.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.
result.manageabilityobjectThe license details regarding the manageability module.
result.manageability.licensedbooleanTrue if the module is included under the current license.
result.manageability.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.manageability.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.
result.vulnerabilityobjectThe license details regarding the vulnerability module.
result.vulnerability.licensedbooleanTrue if the module is included under the current license.
result.vulnerability.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.vulnerability.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.
result.removalobjectThe license details regarding the removal module.
result.removal.licensedbooleanTrue if the module is included under the current license.
result.removal.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.removal.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.
result.deviceinfoobjectThe license details regarding the removal module.
result.deviceinfo.licensedbooleanTrue if the module is included under the current license.
result.deviceinfo.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.deviceinfo.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.
result.driverobjectThe license details regarding the removal module.
result.driver.licensedbooleanTrue if the module is included under the current license.
result.driver.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.driver.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.
result.advancedbrowserobjectThe license details regarding the removal module.
result.advancedbrowser.licensedbooleanTrue if the module is included under the current license.
result.advancedbrowser.expiredboolean(optional) True if the license has expired for the module. This key will not exist if module is not licensed.
result.advancedbrowser.expirationstring(optional) The expiration date for the module in unix time (GMT). This key will not exist if module is not licensed.

Result Codes​

CodeNameDescription
0WAAPI_OKThe operation completed successfully.
note

Other codes may be returned. See the full Result Codes reference for the complete list.

Remarks​

Error Handling​

The results of this function are determined by the error code returned by the call. If successful, WAAPI_OK or a special success code will be returned. Always check both the function return value and the result.code field in the output JSON.

Examples​

Examples will be added here demonstrating the usage of this method.

See Also​


Last updated: 2026-10-01