API Guide

Table Of Contents
HTTP response
codes
200
Example request
body
{
"TemplateId": 11
}
Example
response body
{
"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",
"ViewTypeId": 2
}
/api/TemplateService/Actions/TemplateService.Import
POST method for TemplateService.Import
This method creates a template from a specified configuration text in .XML format. The text is generally from an exported
template file or an SCP file that is created from a device. The text must use the same structure as SCP files.
Description
Creates a template from a specified configuration text in SCP XML format.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example request
body
{
"Name": "Import Test",
"Type": 2,
"Content": <Details of the XML file>
"ViewTypeId": 2
}
Example
response body
ID of the imported template
POST method for TemplateService.Import of IOA deployment
Description
This method imports the IOA template.
Configure 207