Need xml request body for creating a test resource for various fields like custom attributes, name

Accepted answer
One other answer

The API documentation can be found here: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
The API documentation can be found here: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding