Summary
          Get a smart template by ID
          Description
          Get a Smart Template using its ID
          Route
          GET /smart_template/id/:id
          Roles
          
            admin
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | id | string | yes | Database ID for smart template | 
            
          
          
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | smart_template | object | Smart Template Entity | 
            
          
          
            Copied to Clipboard
            
            {
  "_id": "94aa5bd9-857b-5423-9481-2a79b6f20883",
  "form": {
    "name": "Form 123",
    "children": [
      {
        "properties": {
          "type": "leafref",
          "path": "/ncs:devices/ncs:device/ncs:name",
          "min": "1",
          "max": null,
          "minLength": null,
          "maxLength": "4",
          "default": -92112896.50429726,
          "direction": "vertical",
          "required": false,
          "enforce": false,
          "hidden": true
        },
        "id": "reprehenderit anim officia voluptate",
        "type": "container",
        "element": "{\"type\":\"service_model\",\"id\":{\"name\":\"/ncs:services/devices:stringified_json\"}",
        "name": "vlan_id_123",
        "display_name": "vlan",
        "source_type": "service_model",
        "source": "/ncs:services/abc_devices:ios.device",
        "key": "key545385c3-fc66-491b-bf6f-abc2214366dc"
      },
      {
        "properties": {
          "type": "leafref",
          "path": "/ncs:devices/ncs:device/ncs:name",
          "min": null,
          "max": "4",
          "minLength": "1",
          "maxLength": null,
          "default": "adipisicing cillum",
          "direction": "vertical",
          "required": true,
          "enforce": false,
          "hidden": true
        },
        "id": "est et",
        "type": "container",
        "element": "{\"type\":\"service_model\",\"id\":{\"name\":\"/ncs:services/devices:stringified_json\"}",
        "name": "vlan_id_123",
        "display_name": "vlan",
        "source_type": "service_model",
        "source": "/ncs:services/abc_devices:ios.device",
        "key": "service.vlanid"
      }
    ],
    "elements": [
      {
        "type": "service_model",
        "id": {
          "name": "/ncs:services/test_devices:service_name"
        }
      },
      {
        "type": "service_model",
        "id": {
          "name": "/ncs:services/test_devices:service_name"
        }
      },
      {
        "type": "service_model",
        "id": {
          "name": "/ncs:services/test_devices:service_name"
        }
      }
    ],
    "_id": "888519be-cfe6-9e2e-01b6-a3971145d12d",
    "groups": [
      "ea982ccd389c887dc14bef7c",
      "9717872cdd2a08cc49bceb1c"
    ],
    "created": "1963-12-15T20:59:30.974Z",
    "created_by": "d0a65655fe9c0b13877761fb",
    "last_updated": "1999-06-21T11:23:36.364Z",
    "last_updated_by": "bde8ed46280be289dbe166c6",
    "tags": [
      "minim pariatur"
    ]
  },
  "faml": {
    "_attr": {
      "type": "leaf",
      "ns": "http://tail-f.com/ns/config/1.0",
      "prefix": "ios",
      "condition": "must",
      "severity": "error"
    },
    "_keys": [
      "nB",
      "rEzQgn",
      "E",
      "iHefRR",
      "YzV"
    ],
    "_children": [
      {
        "z": {
          "_attr": {
            "type": "list",
            "ns": "http://tail-f.com/ns/ncs",
            "prefix": "ncs",
            "condition": "cant",
            "severity": "notices"
          }
        }
      },
      {
        "v": {
          "_attr": {
            "type": "keyword",
            "ns": "http://tail-f.com/ns/ncs",
            "prefix": "ios",
            "condition": "cant",
            "severity": "error"
          },
          "_value": "B"
        }
      }
    ]
  },
  "name": "CLxQfNqza",
  "native": "interface GigabitEthernet 1",
  "os": "junos",
  "created": "1287286881861",
  "create_by": "y"
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$"
    },
    "form": {
      "$ref": "formDocument"
    },
    "faml": {
      "oneOf": [
        {
          "$ref": "famlObject#/definitions/famlLeaf"
        },
        {
          "$ref": "famlObject#/definitions/famlContainer"
        },
        {
          "$ref": "famlObject#/definitions/famlList"
        }
      ]
    },
    "name": {
      "type": "string",
      "pattern": "[A-Za-z]+"
    },
    "native": {
      "type": "string",
      "enum": [
        "hostname itential",
        "interface GigabitEthernet 1"
      ]
    },
    "os": {
      "type": "string",
      "enum": [
        "cisco-ios, cisco-iosxr",
        "eos",
        "junos"
      ]
    },
    "create_by": {
      "type": "string",
      "pattern": "[A-Za-z]+"
    },
    "created": {
      "type": "string",
      "pattern": "1[1-9]{12}"
    }
  },
  "required": [
    "_id",
    "form",
    "faml",
    "name",
    "native",
    "os",
    "created_by",
    "created"
  ]
}