API Guide

Table Of Contents
Deploy
/api/TemplateService/TemplateTypes
This URI represents the types of templates.
GET method for TemplateTypes
This method returns information about each type of template, indicating the types of devices for which configuration is
supported, such as chassis and servers.
Description Returns information for each supported template type.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/
$metadata#Collection(TemplateService.TemplateTypeModel)",
"@odata.count": 4,
"value":
[
{
"@odata.id": "/api/TemplateService/TemplateTypes(0)", "Id": 0,
"Name": "None", "ConfigurationSections": []
},
{
"@odata.id": "/api/TemplateService/TemplateTypes(2)", "Id": 2,
"Name": "Server", "ConfigurationSections": []
},
{
"@odata.id": "/api/TemplateService/TemplateTypes(4)", "Id": 4,
"Name": "Chassis", "ConfigurationSections": []
},
{
"@odata.id": "/api/TemplateService/TemplateTypes(3)", "Id": 3,
"Name": "IO Module", "ConfigurationSections": []
}
]
}
NOTE: OME - Modular supports only the Server template type.
Table 77. Attributes
Attribute Description
Id Unique identifier for the template type.
Name The type of device for which this template type holds
configuration attributes.
126 Configure