{"type":"api","title":"Generate Template Type Definition","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/65ee78ac-32f3-329c-b00c-b5d29b6bef36","info":{"title":"UX 1.0 Configuration","description":"Configuration of UX 1.0 device and policy.\n\nIncludes API operations for the following:\n- Managing original SD-WAN device configurations and policy configurations\n- Device templates and feature templates\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Configuration - General Template"],"description":"Generate template type definition\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"generateTemplateTypeDefinition","parameters":[{"name":"type_name","in":"path","description":"Feature template type","required":true,"schema":{"type":"string","example":"cisco_system"}},{"name":"version","in":"path","description":"Version","required":true,"schema":{"type":"string","example":"2"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"examples":{"Template type":{"description":"Template type","value":{"xmlPath":[],"xmlRootTag":"system","nameSpace":"http://viptela.com/system","name":"cisco_system","fields":[{"optionType":["constant","ignore"],"description":"Enable Migration Mode to Hierarchical SDWAN","dataType":{"type":"enum","values":[{"key":"enabled","value":"Enable"},{"key":"enabled-from-bgp-core","value":"Enable from BGP Core"}]},"defaultOption":"ignore","dataPath":[],"details":"Enable migration mode to Hierarchical SDWAN","key":"enable-hsdwan-migration","objectType":"object"},{"optionType":["constant","ignore"],"description":"Migration BGP Community","dataType":{"max":4294967295,"type":"number","min":1},"defaultOption":"ignore","dataPath":[],"details":"Set BGP community during migration from BGP-core based network","key":"migration-bgp-community","objectType":"object"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Template Configuration-read,Template Configuration-write,Template Deploy-read,Template Deploy-write","method":"get","path":"/template/feature/types/definition/{type_name}/{version}"}}