Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET cliTemplateConfiguration/deviceTypes

Returns the list of device types you can specify for a CLI template.

Since Product Version: 2.0

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

DevNet Discussions

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/cliTemplateConfiguration/deviceTypes

Response Parameters

Attribute Description

deviceTypes DeviceType[]

A list of device types.

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/v1/op/cliTemplateConfiguration/deviceTypes

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v1/op/cliTemplateConfiguration/deviceTypes" rootUrl="https://localhost/webacs/api/v1/op">
  <deviceTypeList>
    <deviceTypes>
      <deviceType>
        <deviceName>String value</deviceName>
        <fullPathName>String value</fullPathName>
      </deviceType>
    </deviceTypes>
  </deviceTypeList>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v1/op/cliTemplateConfiguration/deviceTypes.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op\/cliTemplateConfiguration\/deviceTypes",
    "@rootUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op",
    "deviceTypeList" : {
      "deviceTypes" : {
        "deviceType" : {
          "deviceName" : "String value",
          "fullPathName" : "String value"
        }
      }
    }
  }
}