Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Correct format of XML is and it is working for me
<ns2:device xmlns:ns2='networkdevice.rest.mgmt.acs.nm.cisco.com'><description>Test Adding device</description><name>test device</name><groupInfo><groupName>All Device Types</groupName><groupType>Devic...