Get a list of reserved licenses


GET /v1.0/lm/licenses?search=text_or_value_for_search

You can search by feature number, product number, feature name, product name, vendor public code (numeric and text), computer name.

Returns the licenses array:

{
    "licenses": [
        {
            "featureName": "Feature is out of license",
            "featureNumber": 4,
            "hostNameOrFqdn": "b0943-pc",
            "productName": "Test GCC",
            "productNumber": 16,
            "reserveCount": 30,
            "vendor": {
                "publicCode": 1368487351,
                "publicCodeText": "DEMONVK"
            }
        },
        {
            "featureName": "Feature is out of license",
            "featureNumber": 4,
            "hostNameOrFqdn": "b0943-pc.guardant.com",
            "productName": "Test GCC",
            "productNumber": 16,
            "reserveCount": 10,
            "vendor": {
                "publicCode": 1368487351,
                "publicCodeText": "DEMONVK"
            }
        }
    ]
}

Reserve a license for a computer


POST /v1.0/lm/licenses

RAW JSON input parameters:

{
   "hostNameOrFqdn" : "John-pc",
   "publicCode" : 1368487351,
   "productNumber" : 16,
   "featureNumber" : 5,
   "reserveCount" : 5
}

Returns the updated licenses array:

{
    "licenses": [
        {
            "featureName": "Feature is out of license",
            "featureNumber": 5,
            "hostNameOrFqdn": "b0943-pc",
            "productName": "",
            "productNumber": 16,
            "reserveCount": 45,
            "vendor": {
                "publicCode": 1368487351,
                "publicCodeText": "DEMONVK"
            }
        },
        {
            "featureName": "Feature is out of license",
            "featureNumber": 5,
            "hostNameOrFqdn": "John-pc",
            "productName": "Test GCC",
            "productNumber": 16,
            "reserveCount": 5,
            "vendor": {
                "publicCode": 1368487351,
                "publicCodeText": "DEMONVK"
            }
        }
    ]
}

Delete a previously reserved license from a computer 


DELETE /v1.0/lm/licenses

RAW JSON input parameters:

{
   "hostNameOrFqdn" : "John-pc",
   "publicCode" : 1368487351,
   "productNumber" : 16,
   "featureNumber" : 5
}

Returns the updated licenses array:

{
    "licenses": [
        {
            "featureName": "Feature is out of license",
            "featureNumber": 5,
            "hostNameOrFqdn": "b0943-pc",
            "productName": "Test GCC",
            "productNumber": 16,
            "reserveCount": 45,
            "vendor": {
                "publicCode": 1368487351,
                "publicCodeText": "DEMONVK"
            }
        }
    ]
}
  • No labels