Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET

# GET groups/deviceGroups

- Jump To

### Resource Information

Rate Limiting? | Yes
Sorting? | No
Paging? | No
Filtering? | No
Response Formats | xml json
HTTP Methods | GET

Returns list of Device Type groups, including the count of alarms of each severity for each group.

## Resource URL

/webacs/api/v1/op/groups/deviceGroups

Since : 2.0

## 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://192.168.116.207/webacs/api/v1/op/groups/deviceGroups

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <mgmtResponse rootUrl="https://192.168.116.207/webacs/api/v1/op/groups/groups/deviceGroups" requestUrl="https://192.168.116.207/webacs/api/v1/op/groups/deviceGroups" responseType="operation">
        <grpDTO>
            <clearedAlarms>1</clearedAlarms>
            <criticalAlarms>1</criticalAlarms>
            <groupId>2</groupId>
            <groupName>String value</groupName>
            <informationAlarms>1</informationAlarms>
            <majorAlarms>1</majorAlarms>
            <minorAlarms>1</minorAlarms>
            <name>String value</name>
            <warningAlarms>1</warningAlarms>
        </grpDTO>
    </mgmtResponse>

### Sample JSON Response Payload

https://192.168.116.207/webacs/api/v1/op/groups/deviceGroups.json

    {
      "mgmtResponse" : {
        "@rootUrl" : "https : \/\/192.168.116.207\/webacs\/api\/v1\/op\/groups\/groups\/deviceGroups",
        "@requestUrl" : "https : \/\/192.168.116.207\/webacs\/api\/v1\/op\/groups\/deviceGroups",
        "@responseType" : "operation",
        "grpDTO" : {
          "clearedAlarms" : 1,
          "criticalAlarms" : 1,
          "groupId" : 2,
          "groupName" : "String value",
          "informationAlarms" : 1,
          "majorAlarms" : 1,
          "minorAlarms" : 1,
          "name" : "String value",
          "warningAlarms" : 1
        }
      }
    }