Cisco Prime Infrastructure API
Prime Infrastructure API Documentation
GET

GET cliTemplateConfiguration/deviceTypes

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

HTTP Methods

GET

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

Resource URL

/webacs/api/v1/op/cliTemplateConfiguration/deviceTypes

Since : 2.0

Response Parameters

Type Attribute Name Description

DeviceType[]

deviceTypes

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://192.168.116.207/webacs/api/v1/op/cliTemplateConfiguration/deviceTypes

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mgmtResponse rootUrl="https://192.168.116.207/webacs/api/v1/op/cliTemplateConfiguration/cliTemplateConfiguration/deviceTypes" requestUrl="https://192.168.116.207/webacs/api/v1/op/cliTemplateConfiguration/deviceTypes" responseType="operation">
    <deviceTypeList>
        <deviceTypes>
            <deviceType>
                <deviceName>String value</deviceName>
                <fullPathName>String value</fullPathName>
            </deviceType>
        </deviceTypes>
    </deviceTypeList>
</mgmtResponse>

Sample JSON Response Payload

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

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