api for qm not allowing me to return an individual result for executionresult
The url below works and returns multiple records but I need a single record for the jdk banking example
https://mydns/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/jvIWgJq_EeaWXoQi47efiw/executionresult.
<title type="text">executionresult ATOM feed for project area JKE Banking (Quality Management)</title>
<link rel="self" href="https://MyURL/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_jvIWgJq_EeaWXoQi47efiw/executionresult?token=-Zet8FeLEeuET5IlMND3dg&page=0"/>
<link rel="next" href="https://MyURL/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/jvIWgJq_EeaWXoQi47efiw/executionresult?token=-Zet8FeLEeuET5IlMND3dg&page=1"/>
<link rel="last" href="https://MyURL/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/jvIWgJq_EeaWXoQi47efiw/executionresult?token=-Zet8FeLEeuET5IlMND3dg&page=1"/>
I have tried appending an id to this url urn:com.ibm.rqm:executionresult:1
This url only returns html. https://mydns/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_jvIWgJq_EeaWXoQi47efiw/executionresult/urn:com.ibm.rqm:executionresult:1
|
One answer
You will want to append the urn.
Example:
https://mydns/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/jvIWgJq_EeaWXoQi47efiw/executionresult/urn:com.ibm.rqm:executionresult:<id>.
Comments
Joshua Widmer
commented Jan 18 '21, 12:52 p.m.
if I run your exact command or give a string for the id like 55. This is the JKE banking project. I tried with put and post. I get "The uploaded content does not consist of well-formed XML or does not match the XML schema for executionresult</ns2:message><ns2:trace>javax.xml.bind.UnmarshalException"
Steven Wallace
commented Jan 18 '21, 1:00 p.m.
You want to perform a GET. A POST would be to create a executionresult and a PUT would update it. The error message references the fact that the request does not include valid xml in it's body as you most likely didn't include any.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.