{"type":"api","title":"Get Device Configuration Preview","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 - Device Template"],"description":"Get device configuration\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"getDeviceConfigurationPreview","requestBody":{"description":"Device template","content":{"application/json":{"schema":{"type":"object"},"examples":{"Device template":{"description":"Device template","value":{"templateId":"45d94bf1-30fb-4b00-8bde-2a62c8af97b5","device":{"csv-status":"complete","csv-deviceId":"a1d010e6-bd61-4fbd-8980-96f02db4d0b9","csv-deviceIP":"172.16.255.21","csv-host-name":"vm11","csv-templateId":"45d94bf1-30fb-4b00-8bde-2a62c8af97b5"},"isEdited":false,"isMasterEdited":false}}}}},"required":true},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"string"},"examples":{"Device config":{"description":"Device config","value":"system\nhost-name vm11\ngps-location latitude 35.0\ngps-location longitude -78.0\nsystem-ip 172.16.255.21\nsite-id 100\norganization-name \"vIPtela Inc Regression\"\nclock timezone America/Los_Angeles\nvbond 10.0.12.26\naaa\n auth-order local radius tacacs\n usergroup basic\n task system read write\n task interface read write\n !"}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Template Deploy-read,Template Deploy-write","method":"post","path":"/template/device/config/config"}}