How do I create and execute queries using the RQM REST API?
Hi there,
I know I can GET the XML representing a particular labresource if I know the resource identifier such as - https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/labresource/urn:com.ibm.rqm:labresource:2
But what if I don't know what URL is beforehand? Is there a way I can programatically create and execute a query for the IP address, the resource name or the administrative state of a lab resource and have the resource identifiers for the matching resources returned?
I know I can get the /labresource feed and then iterate around the identifiers that way, but that seems a bit long winded.
thanks
Andy
I know I can GET the XML representing a particular labresource if I know the resource identifier such as - https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/labresource/urn:com.ibm.rqm:labresource:2
But what if I don't know what URL is beforehand? Is there a way I can programatically create and execute a query for the IP address, the resource name or the administrative state of a lab resource and have the resource identifiers for the matching resources returned?
I know I can get the /labresource feed and then iterate around the identifiers that way, but that seems a bit long winded.
thanks
Andy
One answer
Note: This post is 5+ years old.
Please upgrade to the latest version of RQM (see https://jazz.net/downloads/rational-quality-manager/) and review the product documentation (see https://jazz.net/help-dev/clm/topic/com.ibm.help.common.jazz.calm.doc/com.ibm.help.common.jazz.calm.doc_eclipse-gentopic1.html) and jazz.net resources (see https://jazz.net/help). If your issue persists, please ask a new question (https://jazz.net/forum/questions/ask), open a defect (see https://jazz.net/mystuff/#tab=workitems), or open a PMR (see http://www-01.ibm.com/support/docview.wss?uid=swg21507639).
Please upgrade to the latest version of RQM (see https://jazz.net/downloads/rational-quality-manager/) and review the product documentation (see https://jazz.net/help-dev/clm/topic/com.ibm.help.common.jazz.calm.doc/com.ibm.help.common.jazz.calm.doc_eclipse-gentopic1.html) and jazz.net resources (see https://jazz.net/help). If your issue persists, please ask a new question (https://jazz.net/forum/questions/ask), open a defect (see https://jazz.net/mystuff/#tab=workitems), or open a PMR (see http://www-01.ibm.com/support/docview.wss?uid=swg21507639).