It's all about the answers!

Ask a question

api for qm not allowing me to return an individual result for executionresult


Joshua Widmer (5611) | asked Jan 15 '21, 7:31 p.m.
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 href="https://MyURL/qm/web/console/" rel="alternate"/>
<link rel="next" href="https://MyURL/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/jvIWgJq_EeaWXoQi47efiw/executionresult?token=-Zet8FeLEeuET5IlMND3dg&amp;page=1"/>
<link rel="last" href="https://MyURL/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/jvIWgJq_EeaWXoQi47efiw/executionresult?token=-Zet8FeLEeuET5IlMND3dg&amp;page=1"/>
 I have tried appending an id to this url urn:com.ibm.rqm:executionresult:1


One answer



permanent link
Steven Wallace (336) | answered Jan 18 '21, 12:07 p.m.
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


Register or to post 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.