Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Enterprise 3.9 RESTful API Guide

PDF

GET method for Templates(26)

Description
By using this method, you can view the IOA template configuration content.
Privilege
VIEW
HTTP response codes
200
Example response body


{
    "@odata.context": "/api/$metadata#TemplateService.Template/$entity",
    "@odata.type": "#TemplateService.Template",
    "@odata.id": "/api/TemplateService/Templates(10)",
    "Id": 10,
    "Name": "Switch-FJM0Y42",
    "Description": null,
    "Content": "\n!Cloning Header Start\n!ReleasePlatform  XL\n!ReleaseVersion  9-14(0-30)\n!ReleaseSize  48140985\n!ReleaseTime  Jun 19 2018 01:29:05\n!OPTM0 10GBASE-T\n!OPTM1 -\n!Service-Tag  FJM0Y42\n!Serial-Number CN2829865N0013\n!FCPortsPresent  FALSE\n!QuadPortsPresent  33 37 49 53\n!IOM-Mode  standalone\n!CheckSum   4fd3e503fd1df86f419aecd3cd23bd21\n!Cloning Header End\n\n\n! Version 9-14(0-30)\n!\nboot system stack-unit 0 primary system: A:\nboot system stack-unit 0 secondary system: B:\nboot system stack-unit 0 default system: B:\nboot system gateway 100.100.230.1\n!\nhostname Dell\n! \nprotocol lldp \n!\nredundancy auto-synchronize full\n!\nenable password 7 b125455cf679b208fcf9eeeed0cd6d84\n!\nusername root password 7 d7acc8a1dcd4f698 privilege 15\nusername root password 7 d7acc8a1dcd4f698 privilege 15\n! \nstack-unit 0 provision I/O-Aggregator\n! \ninterface TenGigabitEthernet 0/1\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/2\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/3\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/4\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/5\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/6\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/7\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/8\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/9\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/10\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/11\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/12\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/13\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/14\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/15\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/16\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/17\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/18\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/19\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/20\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/21\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/22\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/23\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/24\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/25\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/26\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/27\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/28\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/29\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/30\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/31\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/32\n auto vlan\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/33\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/34\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/35\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/36\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/37\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/38\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/39\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/40\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/41\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/42\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/43\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/44\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/49\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/50\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/51\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/52\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/53\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/54\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/55\n! \n protocol lldp \n no shutdown\n! \ninterface TenGigabitEthernet 0/56\n! \n protocol lldp \n no shutdown\n! \ninterface ManagementEthernet 0/0\n ip address dhcp\n no shutdown\n! \ninterface Port-channel 128\n no shutdown\n! \ninterface Vlan 1\n ip address dhcp\n no shutdown\n!\nsnmp-server community public ro \nsnmp-server enable traps snmp linkdown linkup \nsnmp-server enable traps stack\n!\n!\nclock timezone TZ-68 5 30 \n!\nfeature fip-snooping\nline console 0\nline vty 0\nline vty 1\nline vty 2\nline vty 3\nline vty 4\nline vty 5\nline vty 6\nline vty 7\nline vty 8\nline vty 9\n! \nuplink-state-group 1\n! \nreload-type\n boot-type normal-reload\n config-scr-download enable\n",
    "SourceDeviceId": 10111,
    "TypeId": 3,
    "ViewTypeId": 2,
    "TaskId": 10313,
    "HasIdentityAttributes": false,
    "Status": 2060,
    "IdentityPoolId": 0,
    "IsPersistencePolicyValid": true,
    "IsStatelessAvailable": false,
    "IsBuiltIn": false,
    "CreatedBy": "admin",
    "CreationTime": "2019-01-24 15:15:13.509153",
    "LastUpdatedBy": "admin",
    "LastUpdatedTime": "2019-01-24 15:15:13.509153",
    "Views@odata.navigationLink": "/api/TemplateService/Templates(10)/Views"
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute Description
Id Unique identifier for referencing a template.
Name Template name.
Description Definition for the template.
SourceDeviceId The identifier of the device whose configuration was used as a reference for creating the template.
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.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\