How to get the license information of Zephyr Community/Enterprise through Rest API?

July 06, 2015

Problem:

How to get the license information of Zephyr Community/Enterprise through Rest API?

Fix:

Zephyr 4.7 allows you to get the Zephyr license detail by the Rest call. You can use any Rest client to fire the below API to get the license details. It will show you the license details in the response body as shown below:


For example-


API- 

http://<Your Zephyr instance IP:port number>/flex/services/rest/latest/info/license

Response Body:
{
    "currentlyLogged": 0,
    "buildNumber": "9213",
    "zephyrApplicationVersion": "4.7",
    "numberOfUsers": 100,
    "validTill": "2016-07-08",
    "totalUsers": 100,
    "licenseActivationDate": "2014-07-08",
    "licenseType": "NAMED",
    "licenseExpiry": "2016-07-08",
    "licenseEdition": "ENTERPRISE"
}

Products: