It's all about the answers!

Ask a question

How can I get the complete artifact list on RQM using REST API?


itforex production (813) | asked Nov 25 '14, 11:20 a.m.

Dear all,

I'm trying to get the list of some artifacts within the RQM ver 5.0.0 using REST API. I use Poster to set up the GET request 

for example 

https://<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testcase

or 

https://<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/executionresult

And I get a list of all the artifacts.

Unfortunately I have more than 700 executionresult within RQM so I get only the first 512 in the response. Is there a way to get the complete list? Or Just get the complete list of the artifacts ids

thanks

Christian

Accepted answer


permanent link
Brian Fleming (1.6k11928) | answered Nov 25 '14, 11:39 a.m.
The response you receive will be paged.  See https://jazz.net/wiki/bin/view/Main/RqmApi#Feeds  You should see a URL in your response with a rel="next" attribute associated with it.

itforex production selected this answer as the correct answer

Comments
itforex production commented Nov 26 '14, 4:31 a.m. | edited Nov 26 '14, 4:43 a.m.

  Hi, I've delete "amp;" in the request

https://<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>;

/executionresult?token=_98BIwXR_EeS4scbJ4nsr0Q&amp;page=1

and it worked

thanks

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.