Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET info/license

Returns license information about the application.

Since Product Version: 2.0

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

Resource URL

/webacs/api/v2/op/info/license

Unmodified

This resource has not been modified since the previous API version.

Response Parameters

Attribute Description

daysToExpire int

The number of days until this license expires.

deviceCountRemaining int

The number of devices that may be added without exceeding the license.

deviceCountUsed int

The number of devices added under this license.

name String

The name of the feature for this license data.

status LicenseStatus

The licensing status of this feature.

Allowed values:

  • LICENSED
  • NOT_LICENSED
  • EXCEEDED

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://localhost/webacs/api/v2/op/info/license

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/info/license" rootUrl="https://localhost/webacs/api/v2/op">
  <licenseInfoDTO>
    <daysToExpire>1</daysToExpire>
    <deviceCountRemaining>1</deviceCountRemaining>
    <deviceCountUsed>1</deviceCountUsed>
    <name>String value</name>
    <status>LICENSED</status>
  </licenseInfoDTO>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v2/op/info/license.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v2/op/info/license",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v2/op",
    "licenseInfoDTO" : [ {
      "daysToExpire" : 1,
      "deviceCountRemaining" : 1,
      "deviceCountUsed" : 1,
      "name" : "String value",
      "status" : "LICENSED"
    } ]
  }
}