API Guide
{
"@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.
/api/TemplateService/TemplateViewTypes
This URI represents the different features that support template operations.
GET method for TemplateViewTypes
This method returns the features that support template operations.
Description
Returns the features that support templates operations.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/
$metadata#Collection(TemplateService.TemplateViewTypeModel)",
"@odata.count": 5,
"value":
[
{
"@odata.id": "/api/TemplateService/TemplateViewTypes(0)", "Id": 0,
"Description": "None"
},
{
"@odata.id": "/api/TemplateService/TemplateViewTypes(1)", "Id": 1,
"Description": "Compliance"
},
{
"@odata.id": "/api/TemplateService/TemplateViewTypes(2)", "Id": 2,
"Description": "Deployment"
},
{
124 Configure