API Guide

Table Of Contents
/api/TemplateService/Templates(Id)/Views
This URI represents the views of a specific template.
GET method for Views of a template
This method returns the views available for a specific template. Each view displays template data in a specific structure.
Description Returns the views available for a specific template.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "/api/
$metadata#Collection(TemplateService.AttributeView) HYPERLINK "mailto:\",
\"@odata.count" ",
"@odata.count": 2,
"value":
[
{
"@odata.type": "#TemplateService.AttributeView",
"@odata.id": "/api/TemplateService/Templates(1)/Views(1)",
"Id": 1,
"Name": "TemplateSpecific",
"Description": "The hierarchy consists of template specific
component classes, groups (from the attribute registry) and attributes.",
"AttributeViewDetails":
{
"@odata.id": "/api/TemplateService/Templates(1)/Views(1)/
AttributeViewDetails"
},
"
HYPERLINK "mailto:DeviceAttributeViewDetails@odata.navigationLink"
DeviceAttributeViewDetails@odata.navigationLink": "/api/TemplateService/
Templates(1)/Views(1)/DeviceAttributeViewDetails"
},
{
"@odata.type": "#TemplateService.AttributeView",
"@odata.id": "/api/TemplateService/Templates(1)/Views(2)",
"Id": 2,
"Name": "SystemSpecific",
"Description": "The hierarchy consists of unique system specific
related component classes, groups (from the attribute registry) and
attributes.",
"AttributeViewDetails":
{
"@odata.id": "/api/TemplateService/Templates(1)/Views(2)/
AttributeViewDetails"
},
"
HYPERLINK "mailto:DeviceAttributeViewDetails@odata.navigationLink"
DeviceAttributeViewDetails@odata.navigationLink": "/api/TemplateService/
Templates(1)/Views(2)/DeviceAttributeViewDetails"
}
]
}
NOTE: For more information about template view attributes, see the Attributes table under GET method for Views(Id).
Configure 191