API Guide
Example
Input:
Output:
{
"@odata.context": "/api/$metadata#TemplateService.AttributeView/$entity",
"@odata.id":
"/api/TemplateService/Templates(10)/Views(1)",
"Id": 1,
"Name": "DefaultModel",
"Description": "The default hierarchical model of a template. The
hierarchy consists of component classes, groups (from the attribute
registry) and attributes.",
"AttributeViewDetails":
{
"@odata.id": "/api/TemplateService/Templates(10)/Views(1)/
AttributeViewDetails"
},
"DeviceAttributeViewDetails":
[
{
"@odata.id": "/api/TemplateService/Templates(10)/Views(1)/
DeviceAttributeViewDetails"
}
]
}
Table 87. Attributes
Attribute Description
Id Unique identifier for a template view.
Name The name of the view.
Description Identifies the template data and its structure provided by this view.
/api/TemplateService/Templates(Id)/Views(Id)/
AttributeViewDetails
This URI represents the attribute details of a specific view of a template.
GET method for AttributeViewDetails
This method returns the details for all attributes applicable to a specific template view..
NOTE:
This API does not return the information needed for editing attributes. To get that information, use API /
TemplateService/Templates(Id)/Views(Id)/AttributeViewDetails/TemplateEditInfoDetails.
Description Returns all attribute details of a template view.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/$metadata#TemplateService.AttributeViewDetail/
$entity",
"@odata.id": "/api/TemplateService/Templates(11)/Views(1)/
AttributeViewDetails",
"Id": 1,
"Name": "TemplateSpecific",
"Description": "The hierarchy consists of template specific component
Configure 139