CLI configuration templates.
Since Product Version: 2.2
Resource URL
/webacs/api/v1/data/CliTemplateResponse Parameters
Type | Attribute Name | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
String |
author |
Template author |
|||||||||||||||||||||
String |
content |
Content of the template. |
|||||||||||||||||||||
Date |
createdOn |
Time when template was ceated or uploaded |
|||||||||||||||||||||
long |
deployCount |
Number of successfull deployments of this template |
|||||||||||||||||||||
String |
description |
Human-readable description of the template. |
|||||||||||||||||||||
String |
deviceType |
Comma-separated list of devices on which the template is allowed to be deployed. |
|||||||||||||||||||||
String |
instanceUuid |
This is a uuid for this instance. |
|||||||||||||||||||||
Date |
lastDeployTime |
Time of last succesfull deployment of this template |
|||||||||||||||||||||
String |
name |
Name of the template |
|||||||||||||||||||||
String |
path |
Full name of folder where template is stored. |
|||||||||||||||||||||
String |
tags |
Tags list separated by comma |
|||||||||||||||||||||
long |
templateId |
||||||||||||||||||||||
variable |
CLI Template variables used in content. |
||||||||||||||||||||||
|
|||||||||||||||||||||||
String |
version |
iOS version |
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 Payload
https://192.168.115.187/webacs/api/v1/data/CliTemplate/42
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <queryResponse rootUrl="https://192.168.115.187/webacs/api/v1/data" requestUrl="https://192.168.115.187/webacs/api/v1/data/CliTemplate/42" responseType="getEntity"> <entity url="https://192.168.115.187/webacs/api/v1/data/CliTemplate/15" type="CliTemplate" dtoType="cliTemplateDTO"> <cliTemplateDTO uuid="String value" id="15" displayName="String value"> <author>String value</author> <content>String value</content> <createdOn>2015-10-19T09:54:44.836-07:00</createdOn> <deployCount>2</deployCount> <description>String value</description> <deviceType>String value</deviceType> <lastDeployTime>2015-10-19T09:54:44.844-07:00</lastDeployTime> <name>String value</name> <path>String value</path> <tags>String value</tags> <templateId>2</templateId> <variables> <variable> <defaultValue>String value</defaultValue> <description>String value</description> <displayLabel>String value</displayLabel> <name>String value</name> <required>String value</required> <type>String value</type> </variable> </variables> <version>String value</version> </cliTemplateDTO> </entity> </queryResponse>
Sample JSON Payload
https://192.168.115.187/webacs/api/v1/data/CliTemplate/42.json
{ "queryResponse" : { "@rootUrl" : "https : \/\/192.168.115.187\/webacs\/api\/v1\/data", "@requestUrl" : "https : \/\/192.168.115.187\/webacs\/api\/v1\/data\/CliTemplate\/42", "@responseType" : "getEntity", "entity" : { "@url" : "https : \/\/192.168.115.187\/webacs\/api\/v1\/data\/CliTemplate\/15", "@type" : "CliTemplate", "@dtoType" : "cliTemplateDTO", "cliTemplateDTO" : { "@uuid" : "String value", "@id" : "15", "@displayName" : "String value", "author" : "String value", "content" : "String value", "createdOn" : "2015-10-19T09 : 54 : 44.848-07 : 00", "deployCount" : 2, "description" : "String value", "deviceType" : "String value", "lastDeployTime" : "2015-10-19T09 : 54 : 44.848-07 : 00", "name" : "String value", "path" : "String value", "tags" : "String value", "templateId" : 2, "variables" : { "variable" : { "defaultValue" : "String value", "description" : "String value", "displayLabel" : "String value", "name" : "String value", "required" : "String value", "type" : "String value" } }, "version" : "String value" } } } }