Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Query regarding RQM Rest API (History Fetch) response

Hi,
 
We wanted to fetch the changes/history of the RQM Test Case artifact.

We are using following History Query for this purpose, we are referring this query format from  API Document document.

History API Query:

https://<Host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/<project alias>/testcase/urn:com.ibm.rqm:testcase:14

Header:
 we have tried different Accept and content type header. we have tried following values  both for content type and accept header
application/xml;
application/json;
application/atom+xml;
etc.

API Response:
Response Link

This query seems to be working and giving us the all changes made to the given Test Case
but we have concern here is regarding the above API response.

We are getting response in XHTML format as referenced above.
Are we missing any thing in this query or any request header?

is there any way that we can get response of this history query in XML or Json form?

Kindly help us to address our query to fetch result in XML or Json format.

Thanks & Regards,
Ajay





0 votes



One answer

Permanent link

 It gives response in xml. Make sure that you have done logged into RQM before calling the api. Also try with poster and rest client. Please provide user-agent in the header

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Jul 06 '17, 3:45 a.m.

Question was seen: 1,835 times

Last updated: Jul 07 '17, 4:33 a.m.

Confirmation Cancel Confirm