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

PUT settings/alarms/severityAutoClearConfig

Updates alarm settings for passed types changing severities and auto clear ages.

Since Product Version: 3.2

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

PUT

Resource URL

/webacs/api/v4/op/settings/alarms/severityAutoClearConfig

Unmodified

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

Request Payload Parameters

Attribute Description

items Arrow image PartialSeverityAutoClearConfigDto[]

Required

Configurations for alarm types. Specify desired severity, or pass "DEFAULT" as the severity to reset the setting to default value.

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://10.64.80.159/webacs/api/v4/op/settings/alarms/severityAutoClearConfig

<?xml version="1.0" ?>
<alarmSeverityAutoClearConfigCommandDto>
  <items>
    <items>
      <alarmCondition>String value</alarmCondition>
      <alarmType>String value</alarmType>
      <autoClearAge>15</autoClearAge>
      <isAutoClearSupported>true</isAutoClearSupported>
      <severity>INFORMATION</severity>
    </items>
    <items>
      <alarmCondition>Another string value</alarmCondition>
      <alarmType>Another string value</alarmType>
      <autoClearAge>25</autoClearAge>
      <isAutoClearSupported>false</isAutoClearSupported>
      <severity>WARNING</severity>
    </items>
  </items>
</alarmSeverityAutoClearConfigCommandDto>

Sample JSON Request Payload

https://10.64.80.159/webacs/api/v4/op/settings/alarms/severityAutoClearConfig.json

{
  "alarmSeverityAutoClearConfigCommandDto" : {
    "items" : {
      "items" : [ {
        "alarmCondition" : "String value",
        "alarmType" : "String value",
        "autoClearAge" : 15,
        "isAutoClearSupported" : true,
        "severity" : "INFORMATION"
      }, {
        "alarmCondition" : "Another string value",
        "alarmType" : "Another string value",
        "autoClearAge" : 25,
        "isAutoClearSupported" : false,
        "severity" : "WARNING"
      } ]
    }
  }
}