It's all about the answers!

Ask a question

RQM create snapshot REST API Response


Ajith O M (46734) | asked Feb 14 '19, 1:06 a.m.

 Dear Team,


I would like to get the response body with revision id when i hit the REST API to create snapshot of a test case. in RQM. I have PROPFIND HTTP method and REST API to get the list of snapshot of the test case. But how will i find out the particular snapshot details from the list of snapshot. The title is not unique for a snapshot and revision-id is not returned when creating snapshot. Is there any REST API ? Is there any way to get the detail of a snapshot as soon as it is created.

My use case : I will be creating a snapshot and  would like to fetch the details of the particular snapshot.

Please help !
Thanks

Accepted answer


permanent link
abhishek gour (3812) | answered Feb 18 '19, 2:02 a.m.

Have a look at the response to following jazz.net forum question - https://jazz.net/forum/questions/218975/what-does-a-snapshot-request-look-like-for-rqm

The response header of request to create Snapshot should contain the revision no of created snapshot.

Also another workaround for this problem could be to keep track of existing snapshots of a given test artifact. When a new one is created then do another get on all the snapshots for that test artifact, and see which revision number did not exist before previous GET.

Ajith O M selected this answer as the correct answer

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.