{"type":"api","title":"Get Template Definition","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Configuration - General Template"],"description":"Get the configured template definition for given template Id\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"getTemplateDefinition","parameters":[{"name":"templateId","in":"path","description":"Template Id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Template definition":{"description":"Template definition","value":{"appnav-controller-group":{"vipObjectType":"tree","vipType":"constant","vipValue":[{"group-name":{"vipObjectType":"object","vipType":"constant","vipValue":"ACG-APPQOE"},"appnav-controllers":{"vipObjectType":"tree","vipType":"constant","vipPrimaryKey":["address"],"vipValue":[{"address":{"vipObjectType":"object","vipType":"constant","vipValue":"10.10.10.10"},"vpn":{"vipObjectType":"object","vipType":"constant","vipValue":512}}]}}],"vipPrimaryKey":["group-name"]},"service-node-group":{"vipObjectType":"tree","vipType":"constant","vipValue":[{"name":{"vipObjectType":"object","vipType":"constant","vipValue":"SNG-APPQOE"},"internal":{"vipObjectType":"node-only","vipType":"constant","vipValue":false},"service-node":{"vipObjectType":"tree","vipType":"constant","vipPrimaryKey":["address"],"vipValue":[{"address":{"vipObjectType":"object","vipType":"constant","vipValue":"10.10.11.11"},"vpg-ip":{"vipObjectType":"object","vipType":"ignore","vipValue":""}}]}}],"vipPrimaryKey":["name"]},"service-context":{"appqoe":{"vipObjectType":"tree","vipType":"constant","vipPrimaryKey":["name"],"vipValue":[{"name":{"vipObjectType":"object","vipType":"constant","vipValue":"/1"},"appnav-controller-group":{"vipObjectType":"object","vipType":"constant","vipValue":"ACG-APPQOE"},"service-node-groups":{"vipObjectType":"list","vipType":"constant","vipValue":["SNG-APPQOE"]},"service-node-group":{"vipObjectType":"object","vipType":"constant","vipValue":"SNG-APPQOE"},"enable":{"vipObjectType":"node-only","vipType":"constant","vipValue":"true"},"vpn":{"vipObjectType":"object","vipType":"ignore","vipValue":0,"vipVariableName":"appqoe_vrf"}}]}}}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Template Configuration-read,Template Deploy-read,Policy Configuration-read","__originalOperationId":"getTemplateDefinition","method":"get","path":"/template/feature/definition/{templateId}"}}