API Guide
Output:
/api/TemplateService/Actions/TemplateService.Clone
POST method for TemplateService.Clone
This method creates a clone of a template.
Description Clones a template.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example
Input:
{
"SourceTemplateId": 12,
"NewTemplateName": "clone example",
"ViewTypeId": 2
}
Output:
ID of cloned template
/api/TemplateService/Actions/TemplateService.Export
POST method for TemplateService.Export
This method exports a template.
Description
Exports a template.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example
Input:
{
"TemplateId": 11
}
Output:
{
"TemplateId": 11,
"Content": "<SystemConfiguration Model=\"PowerEdge M620\" ServiceTag=
\"6HHN9Z1\" TimeStamp=\"Tue Dec 5 19:22:25 2017\">\n<Component FQDD=
\"LifecycleController.Embedded.1\">\n<Attribute Name=
\"LCAttributes.1#VirtualAddressManagementApplication\"/>\n<Attribute Name=
\"LCAttributes.1#VirtualAddressManagement\">Console</Attribute>\n<Attribute
Name=\"LCAttributes.1#ProvisioningServer\"/>\n<Attribute Name=
\"LCAttributes.1#PartFirmwareUpdate\">Match firmware of replaced part</
Attribute>\n<Attribute Name=\"LCAttributes.1#PartConfigurationUpdate\">Apply
always</Attribute>\n<Attribute Name=\"LCAttributes.1#IPChangeNotifyPS\">Off</
Attribute>\n<Attribute Name=\"LCAttributes.1#CollectSystemInventoryOnRestart
\">Enabled</Attribute>\n<Attribute Name=\"LCAttributes.1#BIOSRTDRequested
\">False</Attribute>\n<Attribute Name=\"LCAttributes.1#AutoUpdate
\">Disabled</Attribute>\n<Attribute Name=\"LCAttributes.1#AutoBackup
\">Disabled</Attribute>\n</Component>\n</SystemConfiguration>\n",
"ContentType": "xml",
Configure 147