RQM: How to created nested categories wirt REST API
![]()
Hello,
Is it possible to create a nested category structure using REST API and if yes can you please provide the syntax. Example: Two categories Country and City with some values: ![]() thanks a lot, Joerg |
Accepted answer
![]()
Yes, using the categoryType and category resource types (https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op). I would recommend creating an example in the RQM UI and using the RQM REST API to GET the categoryType and category resources to see the desired structure.
Jörg Werner selected this answer as the correct answer
Comments Thanks, Paul,
Examples:
<?xml version="1.0" encoding="utf-8"?><categoryType xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:title>Country</dc:title> <scope>TestCase</scope> <required>false</required> <multiSelectable>false</multiSelectable></categoryType> categorytype02.xml: <?xml version="1.0" encoding="utf-8"?><categoryType xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:title>City</dc:title> <scope>TestCase</scope> <required>false</required> <multiSelectable>false</multiSelectable> <dependsOn href="./categorytype01.xml"/></categoryType> |