API Guide
Attribute Description
TypeId Template type. For more information, see /TemplateService/
TemplateTypes.
ViewTypeId Template View type. For more information, see /
TemplateService/TemplateViewTypes.
TaskId The identifier of the task that created the template.
HasIdentityAttributes Indicates whether the template contains any identity attributes,
that is, any attributes that must be assigned a unique value from an
Identity Pool before they can be deployed to a target device.
Status Status of the action.
IdentityPoolId The ID of the identify pool associated with the template. If an
identity pool is not associated, this value is 0.
IsBuiltIn Indicates whether the template is a preinstalled template or
customer-defined.
CreatedBy The name of the user who created the template.
CreationTime Timestamp indicating when this template was created.
Last UpdatedBy The name of the user who last modified this template.
LastUpdatedTime Timestamp indicating when this template was last modified.
/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",
150 Configure