The following example shows an HTTP request to get licensing information:
GET /api/v3.0/licenseinfo HTTP/1.0 |
The following example shows the corresponding response that contains licensing information when offline licensing mode is used:
HTTP/1.0 200 OK Connection: close Content-Type: text/plain Server: KAVHTTPD/1.0 X-KAV-ProtocolVersion: 3 Date: Wed, 30 Jan 2019 19:04:30 GMT Content-Length: 81
{ "licenseName": "EXAMPLE.key", "licenseExpirationDate": "05.12.2020" } |
where:
licenseName
is the name of the current key file.licenseExpirationDate
is the expiration date of the key file in the following format: DD.MM.YYYY
.The following block shows the corresponding response, which contains licensing information when online licensing mode is used. In this example, the license ticket has expired:
HTTP/1.0 200 OK Date: Mon, 10 February 2014 12:25:21 GMT Server: KAVHTTPD/1.0 Content-Length: 185 Connection: close Content-Type: text/plain
{ "activationCode": "EXMPL-*****-*****-12345", "licenseExpirationDate": "05.12.2020", "ticketExpired": "The license ticket has expired. Computer must be connected to the Internet to update the license ticket." } |
where:
activationCode
is the activation code.licenseExpirationDate
is the expiration date of the activation code in the following format: DD.MM.YYYY
.ticketExpired
contains a message that is included in the response body only if the license ticket has expired.