Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET settings/data/pruneDataConfigsByGroup/{category}

Retrieves data pruning configurations for given category.

Since Product Version: 3.2

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

GET

DevNet Discussions

Resource URL

/webacs/api/v4/op/settings/data/pruneDataConfigsByGroup/{category}

Unmodified

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

Request Parameters

Attribute Source Description

category String

path

RequiredCategory name. Possible values are 'Optical Devices', 'Admin', 'Trend Data', 'RRM', 'Report', 'Statistics', 'Others'.

Response Parameters

Attribute Description

pruneDataConfigs PruneDataConfigDTO[]

List of data pruning configurations.

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/v4/op/settings/data/pruneDataConfigsByGroup/{category}

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/settings/data/pruneDataConfigsByGroup/{category}" rootUrl="https://localhost/webacs/api/v4/op">
  <pruneDataConfigListDTO>
    <pruneDataConfigs>
      <pruneDataConfigs>
        <age>1</age>
        <ageAttribute>String value</ageAttribute>
        <maxRecords>1</maxRecords>
        <tableName>String value</tableName>
      </pruneDataConfigs>
      <pruneDataConfigs>
        <age>11</age>
        <ageAttribute>Another string value</ageAttribute>
        <maxRecords>11</maxRecords>
        <tableName>Another string value</tableName>
      </pruneDataConfigs>
    </pruneDataConfigs>
  </pruneDataConfigListDTO>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v4/op/settings/data/pruneDataConfigsByGroup/{category}.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v4/op/settings/data/pruneDataConfigsByGroup/{category}",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v4/op",
    "pruneDataConfigListDTO" : [ {
      "pruneDataConfigs" : {
        "pruneDataConfigs" : [ {
          "age" : 1,
          "ageAttribute" : "String value",
          "maxRecords" : 1,
          "tableName" : "String value"
        }, {
          "age" : 11,
          "ageAttribute" : "Another string value",
          "maxRecords" : 11,
          "tableName" : "Another string value"
        } ]
      }
    } ]
  }
}