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

PUT groups/groupRules

Replace set of group rules with a new one. Only Location and Network Device groups are supported.

Since Product Version: 3.0

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

PUT

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

Resource URL

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

Request Parameters

Attribute Source Description

groupId Long

query

Required

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

groupPath String

query

Required

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

Request Payload Parameters

Attribute Description

rules Arrow image GroupDeviceRule[]

Required

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 Request Payload

https://172.20.127.108/webacs/api/v1/op/groups/groupRules?groupPath=Location/All Locations/groupName

<?xml version="1.0" ?>
<groupRulesDTO>
  <rules>
    <rule>
      <criteria>String value</criteria>
      <field>String value</field>
      <matchCondition>AND</matchCondition>
      <operation>IS_EMPTY</operation>
    </rule>
    <rule>
      <criteria>Another string value</criteria>
      <field>Another string value</field>
      <matchCondition>OR</matchCondition>
      <operation>IS_NOT_EMPTY</operation>
    </rule>
  </rules>
</groupRulesDTO>

Sample JSON Request Payload

https://172.20.127.108/webacs/api/v1/op/groups/groupRules.json?groupPath=Location/All Locations/groupName

{
  "groupRulesDTO" : {
    "rules" : {
      "rule" : [{
        "criteria" : "String value",
        "field" : "String value",
        "matchCondition" : "AND",
        "operation" : "IS_EMPTY"
      },
      {
        "criteria" : "Another string value",
        "field" : "Another string value",
        "matchCondition" : "OR",
        "operation" : "IS_NOT_EMPTY"
      }]
    }
  }
}