Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

GET groups/groupRules

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

Get list of group rules. Only Location and Network Device groups are supported.

Since Product Version: 3.0

Resource URL

/webacs/api/v1/op/groups/groupRules

Request Parameters

Type Attribute Name Source Description

Long

groupId required

query

Id of the group. Either groupId or groupPath must be specified.

String

groupPath required

query

Full path and name of the group. Either groupId or groupPath must be specified.

Response Parameters

Type Attribute Name Description

GroupDeviceRule[]

rules

List of group rules

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://172.25.123.114/webacs/api/v1/op/groups/groupRules

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../pages/common/login.jsp.html" rootUrl="https://172.25.123.114/webacs/api/v1/op/">
  <groupRulesDTO>
    <rules>
      <rule>
        <criteria>String value</criteria>
        <field>String value</field>
        <matchCondition>AND</matchCondition>
        <operation>IS_EMPTY</operation>
      </rule>
    </rules>
  </groupRulesDTO>
</mgmtResponse>

Sample JSON Response Payload

https://172.25.123.114/webacs/api/v1/op/groups/groupRules.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/groups\/groupRules",
    "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/",
    "groupRulesDTO" : {
      "rules" : {
        "rule" : {
          "criteria" : "String value",
          "field" : "String value",
          "matchCondition" : "AND",
          "operation" : "IS_EMPTY"
        }
      }
    }
  }
}