Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET cliTemplateConfiguration/templates

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

Deprecated

This operation does not support pagination, filtering, or sorting. Please use the CLI Configuration Templates resource instead. This operation may be removed in a future release.

Get a list of the published Templates

Resource URL

/webacs/api/v1/op/cliTemplateConfiguration/templates

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://szier-m8-106.cisco.com/webacs/api/v1/op/cliTemplateConfiguration/templates

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mgmtResponse rootUrl="https://szier-m8-106.cisco.com/webacs/api/v1/op/" requestUrl="https://szier-m8-106.cisco.com/webacs/api/v1/op/cliTemplateConfiguration/templates" responseType="operation">
    <cliTemplate>
        <content>String value</content>
        <description>String value</description>
        <deviceType>String value</deviceType>
        <name>String value</name>
        <path>String value</path>
        <variables>
            <variable>
                <defaultValue>String value</defaultValue>
                <description>String value</description>
                <displayLabel>String value</displayLabel>
                <name>String value</name>
                <required>true</required>
                <type>String value</type>
            </variable>
        </variables>
    </cliTemplate>
</mgmtResponse>

Sample JSON Response Payload

https://szier-m8-106.cisco.com/webacs/api/v1/op/cliTemplateConfiguration/templates.json

{
  "mgmtResponse" : {
    "@rootUrl" : "https : \/\/szier-m8-106.cisco.com\/webacs\/api\/v1\/op\/",
    "@requestUrl" : "https : \/\/szier-m8-106.cisco.com\/webacs\/api\/v1\/op\/cliTemplateConfiguration\/templates",
    "@responseType" : "operation",
    "cliTemplate" : {
      "content" : "String value",
      "description" : "String value",
      "deviceType" : "String value",
      "name" : "String value",
      "path" : "String value",
      "variables" : {
        "variable" : {
          "defaultValue" : "String value",
          "description" : "String value",
          "displayLabel" : "String value",
          "name" : "String value",
          "required" : true,
          "type" : "String value"
        }
      }
    }
  }
}