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

GET cliTemplateConfiguration/templates

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

Since Product Version: 2.0

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

Resource URL

/webacs/api/v2/op/cliTemplateConfiguration/templates

Unmodified

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

Response Parameters

Attribute Description

content String

The content of the template that will be populated with variable values and sent to devices.

description String

A description of the template

deviceType String

The types of devices this template is applicable for, comma seperated.

name String

The name of the template.

path String

Template path

tags String

Tags list separated by comma

variables Arrow image CliTemplateVariableDefinition[]

A list of variables needed for this template

version String

iOS version

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://10.56.58.149/webacs/api/v2/op/cliTemplateConfiguration/templates

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://10.56.58.149/webacs/api/v2/op/cliTemplateConfiguration/templates" rootUrl="https://10.56.58.149/webacs/api/v2/op">
  <cliTemplate>
    <content>String value</content>
    <description>String value</description>
    <deviceType>String value</deviceType>
    <name>String value</name>
    <path>String value</path>
    <tags>String value</tags>
    <variables>
      <variable>
        <defaultValue>String value</defaultValue>
        <description>String value</description>
        <displayLabel>String value</displayLabel>
        <name>String value</name>
        <rangeFrom>String value</rangeFrom>
        <rangeTo>String value</rangeTo>
        <required>true</required>
        <type>String value</type>
        <validationExpression>String value</validationExpression>
      </variable>
      <variable>
        <defaultValue>Another string value</defaultValue>
        <description>Another string value</description>
        <displayLabel>Another string value</displayLabel>
        <name>Another string value</name>
        <rangeFrom>Another string value</rangeFrom>
        <rangeTo>Another string value</rangeTo>
        <required>false</required>
        <type>Another string value</type>
        <validationExpression>Another string value</validationExpression>
      </variable>
    </variables>
    <version>String value</version>
  </cliTemplate>
  <cliTemplate>
    <content>Another string value</content>
    <description>Another string value</description>
    <deviceType>Another string value</deviceType>
    <name>Another string value</name>
    <path>Another string value</path>
    <tags>Another string value</tags>
    <variables>
      <variable>
        <defaultValue>String value</defaultValue>
        <description>String value</description>
        <displayLabel>String value</displayLabel>
        <name>String value</name>
        <rangeFrom>String value</rangeFrom>
        <rangeTo>String value</rangeTo>
        <required>true</required>
        <type>String value</type>
        <validationExpression>String value</validationExpression>
      </variable>
      <variable>
        <defaultValue>Another string value</defaultValue>
        <description>Another string value</description>
        <displayLabel>Another string value</displayLabel>
        <name>Another string value</name>
        <rangeFrom>Another string value</rangeFrom>
        <rangeTo>Another string value</rangeTo>
        <required>false</required>
        <type>Another string value</type>
        <validationExpression>Another string value</validationExpression>
      </variable>
    </variables>
    <version>Another string value</version>
  </cliTemplate>
</mgmtResponse>

Sample JSON Response Payload

https://10.56.58.149/webacs/api/v2/op/cliTemplateConfiguration/templates.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://10.56.58.149/webacs/api/v2/op/cliTemplateConfiguration/templates",
    "@responseType" : "operation",
    "@rootUrl" : "https://10.56.58.149/webacs/api/v2/op",
    "cliTemplate" : [ {
      "content" : "String value",
      "description" : "String value",
      "deviceType" : "String value",
      "name" : "String value",
      "path" : "String value",
      "tags" : "String value",
      "variables" : {
        "variable" : [ {
          "defaultValue" : "String value",
          "description" : "String value",
          "displayLabel" : "String value",
          "name" : "String value",
          "rangeFrom" : "String value",
          "rangeTo" : "String value",
          "required" : true,
          "type" : "String value",
          "validationExpression" : "String value"
        }, {
          "defaultValue" : "Another string value",
          "description" : "Another string value",
          "displayLabel" : "Another string value",
          "name" : "Another string value",
          "rangeFrom" : "Another string value",
          "rangeTo" : "Another string value",
          "required" : false,
          "type" : "Another string value",
          "validationExpression" : "Another string value"
        } ]
      },
      "version" : "String value"
    }, {
      "content" : "Another string value",
      "description" : "Another string value",
      "deviceType" : "Another string value",
      "name" : "Another string value",
      "path" : "Another string value",
      "tags" : "Another string value",
      "variables" : {
        "variable" : [ {
          "defaultValue" : "String value",
          "description" : "String value",
          "displayLabel" : "String value",
          "name" : "String value",
          "rangeFrom" : "String value",
          "rangeTo" : "String value",
          "required" : true,
          "type" : "String value",
          "validationExpression" : "String value"
        }, {
          "defaultValue" : "Another string value",
          "description" : "Another string value",
          "displayLabel" : "Another string value",
          "name" : "Another string value",
          "rangeFrom" : "Another string value",
          "rangeTo" : "Another string value",
          "required" : false,
          "type" : "Another string value",
          "validationExpression" : "Another string value"
        } ]
      },
      "version" : "Another string value"
    } ]
  }
}