Summary
          Provision a object of Smart Templates
          Description
          Provision a object of Smart Templates
          Route
          POST /smart_template/st/provisionWF
          Roles
          
            admin
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | 
                Type | 
                Required | 
                Description | 
              
            
            
              
    | instance_data | 
    object | 
    yes | 
    Smart Template Instance | 
  
            
          
          
            Copied to Clipboard
            
            {
  "instance_data": {
    "regexErrors": {
      "variables": {
        "L": [
          {
            "bQrdZTNyD": {
              "QJAbezUB": "laborum",
              "xkQNnDaqkC": "consectetur voluptate",
              "HrpBIyFge": "commodo deserunt",
              "rqkGeW": "dolore",
              "PFuLLLtweWz": "dolor sed et"
            }
          }
        ]
      },
      "faml": {
        "_attr": {
          "type": "list",
          "ns": "http://tail-f.com/ns/config/1.0",
          "prefix": "ios",
          "condition": "cant",
          "severity": "notices"
        },
        "_value": "H"
      },
      "action": "create"
    },
    "regularErrors": {
      "variables": {
        "xuWhYkHjZu": [
          {
            "Rgup": {
              "DT": "cillum qui eu id",
              "lyCaHV": "laborum consectetur eiusmod ullamco",
              "kzke": "incididunt enim eiusmod",
              "IItMKWuW": "occaecat laborum",
              "KqbKyc": "sunt"
            }
          }
        ]
      },
      "faml": {
        "_attr": {
          "type": "leaf",
          "ns": "http://tail-f.com/ns/ncs",
          "prefix": "ncs",
          "condition": "must",
          "severity": "notices"
        },
        "_keys": [
          "lnFi",
          "wMFS",
          "HWzRYp",
          "OLXU",
          "jWsLGSRqZzI"
        ],
        "_children": [
          {
            "W": {
              "_attr": {
                "type": "keyword",
                "ns": "http://tail-f.com/ns/ncs",
                "prefix": "ios",
                "condition": "cant",
                "severity": "warning"
              }
            }
          },
          {
            "y": {
              "_attr": {
                "type": "list",
                "ns": "http://tail-f.com/ns/ncs",
                "prefix": "ios",
                "condition": "cant",
                "severity": "notices"
              }
            }
          }
        ]
      },
      "action": "create"
    },
    "deletionErrors": {
      "xpaths": [
        "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:interface/ios:Loopback[ios:name='0']"
      ],
      "action": "delete"
    }
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "instance_data": {
      "properties": {
        "regexErrors": {
          "$ref": "smartTemplateInstance"
        },
        "regularErrors": {
          "$ref": "smartTemplateInstance"
        },
        "deletionErrors": {
          "$ref": "deletionInstance"
        }
      },
      "required": [
        "regexErrors",
        "regularErrors",
        "deletionErrors"
      ]
    }
  },
  "required": [
    "instance_data"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | 
                Type | 
                Description | 
              
            
            
              
                | status | 
                object | 
                Status of operation | 
              
            
          
          
            Copied to Clipboard
            
            [
  {
    "host": "bwQ",
    "data": {
      "action": "update",
      "success": false
    }
  },
  {
    "host": "OMzZrRUcNdo",
    "data": {
      "action": "update",
      "success": true
    }
  },
  {
    "host": "ymJjWxrRCb",
    "data": {
      "action": "update",
      "success": true
    }
  },
  {
    "host": "ONVIiQo",
    "data": {
      "action": "update",
      "success": false
    }
  }
]
           
          
            Copied to Clipboard
            
            {
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "host": {
        "type": "string",
        "pattern": "[a-zA-Z]+"
      },
      "data": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "update"
            ]
          },
          "success": {
            "type": "boolean"
          }
        },
        "reqiuired": [
          "action",
          "success"
        ]
      }
    },
    "required": [
      "host",
      "data"
    ]
  }
}