{"type":"api","title":"Generate Template By Device Type","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 based on device\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"generateTemplateByDeviceType","parameters":[{"name":"deviceType","in":"path","description":"Device type","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"examples":{"Feature template":{"description":"Feature template","value":{"data":[{"templateMinVersion":"20.1.0","templateType":"logging","deviceType":["vedge-1000","vedge-2000","vedge-cloud","vedge-5000","vedge-ISR1100-6G","vedge-100-B","vedge-ISR1100-4G","vedge-100","vsmart","vedge-ISR1100-4GLTE","vedge-100-WM","vmanage","vedge-100-M","vedge-ISR1100X-6G","vedge-ISR1100X-4G"],"lastUpdatedBy":"system","editedTemplateDefinition":{"disk":{"enable":{"vipObjectType":"object","vipValue":"true","vipType":"ignore"},"file":{"size":{"vipObjectType":"object","vipValue":10,"vipType":"ignore"},"rotate":{"vipObjectType":"object","vipValue":10,"vipType":"ignore"}},"priority":{"vipObjectType":"object","vipValue":"information","vipType":"ignore"}}},"gTemplateClass":"vedge","templateDefinition":{"disk":{"enable":{"vipObjectType":"object","vipValue":"true","vipType":"ignore"},"file":{"size":{"vipObjectType":"object","vipValue":10,"vipType":"ignore"},"rotate":{"vipObjectType":"object","vipValue":10,"vipType":"ignore"}},"priority":{"vipObjectType":"object","vipValue":"information","vipType":"ignore"}}},"configType":"xml","attachedMastersCount":1,"templateId":"5f459c3b-2e77-4399-8b0d-f1d5cf048035","createdOn":1652417246799,"@rid":108,"factoryDefault":true,"feature":"vmanage-default","templateName":"Factory_Default_Logging_Template_V01","createdBy":"system","devicesAttached":0,"templateDescription":"DefaultLoggingtemplatesettingsVersion01","lastUpdatedOn":1652417246799}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Template Configuration-read,Template Deploy-read,Template Deploy-write","method":"get","path":"/template/feature/{deviceType}"}}