API Guide

Table Of Contents
Privilege TEMPLATE_MANAGEMENT
HTTP response
codes
200
Example
Input:
{
"SourceEntityId" : 13,
"ForceMigrate" : false
}
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
150 Configure