API Guide

\"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 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
Input:
{
"Name": "Import Test",
"Type": 2,
"Content": <Details of the XML file>
"ViewTypeId": 2
}
Output:
ID of the imported template
POST method for TemplateService.Import of IOA deployment
Description
This method imports the IOA template.
Privilege TEMPLATE_MANAGEMENT
HTTP response
codes
200
Example
Input:
{
"Name": "Import Test - IOA",
"Type": 3,
"Content": "\n!Cloning Header Start\n!ReleasePlatform XL\n!ReleaseVersion
9-14(0-30)\n!ReleaseSize 48140985\n!ReleaseTime Jun 19 2018 01:29:05\n!
OPTM0 10GBASE-T\n!OPTM1 -\n!Service-Tag FJM0Y42\n!Serial-Number
CN2829865N0013\n!FCPortsPresent FALSE\n!QuadPortsPresent 33 37 49 53\n!IOM-
Mode standalone\n!CheckSum 4fd3e503fd1df86f419aecd3cd23bd21\n!Cloning
Header End\n\n\n! Version 9-14(0-30)\n!\nboot system stack-unit 0 primary
system: A:\nboot system stack-unit 0 secondary system: B:\nboot system stack-
unit 0 default system: B:\nboot system gateway 100.100.230.1\n!\nhostname
Dell\n! \nprotocol lldp \n!\nredundancy auto-synchronize full\n!\nenable
password 7 b125455cf679b208fcf9eeeed0cd6d84\n!\nusername root password 7
d7acc8a1dcd4f698 privilege 15\nusername root password 7 d7acc8a1dcd4f698
privilege 15\n! \nstack-unit 0 provision I/O-Aggregator\n! \ninterface
TenGigabitEthernet 0/1\n auto vlan\n! \n protocol lldp \n no shutdown\n!
\ninterface TenGigabitEthernet 0/2\n auto vlan\n! \n protocol lldp \n no
shutdown\n! \ninterface TenGigabitEthernet 0/3\n auto vlan\n! \n protocol
Configure 155