The Licensing API returns data about licenses, features, and keys in JSON format.
License data
Information about all licenses thar were installed is returned as an array of licenses.
You can limit the search area by setting parameters via GrdVisibility, then extra data will be filtered out
{ "licenseCount":2, "licenses":[ { "isBroken":0, "dongleInfo":{ "dongleId":1014069770, "dongleModel":128, "typeFlags":442, "netResource":0, "publicCode":-1368487351, "driverType":2, "dongleMemorySize":59392, "firmwareState":0, "firmwareVersion":16778248, "firmwareFeatures":1, "hwMcuVersion":8 }, "licenseInfo":{ "currentUpdate":3788469671, "flags":1, "freeMemory":55642, "licenseId":1014069770, "vendorPublicCode":-1368487351, "productsCount":1, "vendorCompanyName":"Guardant", "products":[ { "number":8, "modification":0, "flags":0, "featuresCount":4, "name":"Sign local", "features":[ { "number":1, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"GRD Feature local" }, { "number":7, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":6, "maxConcurrentResource":0, "currentRunCounterValue":6, "name":"Number of launches for unlim" }, { "number":10, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":6, "maxConcurrentResource":0, "currentRunCounterValue":6, "name":"Number of Encrypt launches" }, { "number":11, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":6, "maxConcurrentResource":0, "currentRunCounterValue":6, "name":"Number of Decrypt launches" } ] } ] } }, { "isBroken":0, "dongleInfo":{ "dongleId":1014069296, "dongleModel":128, "typeFlags":509, "netResource":10, "publicCode":-1368487351, "driverType":2, "dongleMemorySize":59392, "firmwareState":0, "firmwareVersion":16778248, "firmwareFeatures":1, "hwMcuVersion":8 }, "licenseInfo":{ "currentUpdate":2590691852, "flags":1, "freeMemory":53245, "licenseId":1014069296, "vendorPublicCode":-1368487351, "productsCount":1, "vendorCompanyName":"Guardant", "customerFirstName":"John", "customerLastName":"Doe", "customerEmail":"guardant@guardant.com", "products":[ { "number":9, "modification":1, "flags":0, "featuresCount":9, "name":"Time local net", "features":[ { "number":1, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"GRD Feature local" }, { "number":4, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":1546300800, "validUpToDate":1893455999, "restOfLifeTime":307732671, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"Period of time" }, { "number":5, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":1893455999, "restOfLifeTime":307732671, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"Expiration Date" }, { "number":6, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":252460800, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"Number of days" }, { "number":7, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":6, "maxConcurrentResource":0, "currentRunCounterValue":6, "name":"Number of launches for unlim" }, { "number":8, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":1546300800, "validUpToDate":1548979199, "restOfLifeTime":0, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"Period of time is over" }, { "number":9, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":1861920000, "validUpToDate":1893455999, "restOfLifeTime":31535999, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"Period of time is not started" }, { "number":10, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":6, "maxConcurrentResource":0, "currentRunCounterValue":6, "name":"Number of Encrypt launches" }, { "number":11, "flags":0, "remoteMode":3, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":18, "maxConcurrentResource":6, "currentRunCounterValue":18, "name":"Number of Decrypt launches" } ] } ] } } ] }
Feature data
While the feature-specific information is returned as a licenseInfo object, the information regarding the key is also returned into dongleInfo .
{ "isBroken":0, "dongleInfo":{ "dongleId":1014069770, "dongleModel":128, "typeFlags":442, "netResource":0, "publicCode":-1368487351, "driverType":2, "dongleMemorySize":59392, "firmwareState":0, "firmwareVersion":16778248, "firmwareFeatures":1, "hwMcuVersion":8 }, "licenseInfo":{ "currentUpdate":3788469671, "flags":1, "freeMemory":55642, "licenseId":1014069770, "vendorPublicCode":-1368487351, "productsCount":1, "vendorCompanyName":"Guardant", "products":[ { "number":8, "modification":0, "flags":0, "featuresCount":1, "name":"Sign local", "features":[ { "number":1, "flags":0, "remoteMode":1, "consumptionMode":0, "validFromDate":0, "validUpToDate":0, "restOfLifeTime":0, "maxRunCounter":0, "maxConcurrentResource":0, "currentRunCounterValue":0, "name":"GRD Feature local" } ] } ] } }