API Guide
"IdentityPoolId": 0,
"IsBuiltIn": true,
"CreatedBy": "system",
"CreationTime": "2017-11-30 19:02:11.200378",
"LastUpdatedBy": null,
"LastUpdatedTime": "2017-11-30 19:02:11.200378",
"Views":
[
{
"@odata.id": "/api/TemplateService/Templates(8)/Views"
}
]
}
]
}
NOTE: For information about template attributes, see the Attributes table under GET method for Templates(Id).
POST method for Templates
This method creates a template.
Description Creates a template.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example request
body
{
"Name": "Test Create",
"Description": "This is a test template",
"TypeId": 2,
"ViewTypeId": 2,
"SourceDeviceId": 5514,
"Fqdds": "idrac,system,nic,lifecycleController,eventFilters"
}
Example response
body
ID of the template
Table 84. Attributes
Attribute Description
Name Template name
Description Definition for the template
TypeId Template type. For more information, see /TemplateService/
TemplateTypes.
ViewTypeId Template View type. For more information, see /
TemplateService/TemplateViewTypes.
SourceDeviceId The identifier of the device—the reference device—from which a
template is to be created.
Fqdds The FQDDs to copy from the reference device, as a comma-
separated string. Possible values are:
• iDRAC
• System
• BIOS
• NIC
144 Configure