SNAPSHOT request for RQM REST API
![](http://jazz.net/_images/myphoto/3fe598603b416f01bf18b72ea1b2e27f.jpg)
Dear team,
I tried creating snapshot using REST API and its working fine and im able to create snapshot through API. But how do i implement Non-standard HTTP method requiring a HTTP client that support the HTTP SNAPSHOT method. How do I implement it in java. what is the http client that supports SNAPSHOT http method
url used: serveraddress.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/testcase/urn:com.ibm.rqm:testcase:170
Please help me.
Thanks
Ajith
Accepted answer
![](http://jazz.net/_images/myphoto/3fe598603b416f01bf18b72ea1b2e27f.jpg)
You can try
https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources//TestProject/testcase/urn:com.ibm.rqm:testcase:170?snapshot
If you are using Postman, you will find "PROPFIND", using which you will get snapshot details.
https://jazz.net/wiki/bin/view/Main/RqmApi#Read_a_List_of_Snapshots
Comments
![](http://jazz.net/_images/myphoto/3fe598603b416f01bf18b72ea1b2e27f.jpg)
Thanks Subramanya for your response.
I know that the above URL and PROPFIND method can give me details of Snapshot or to Get the snapshots of test case. But what i really want is how to create snapshot or rather how to implement creating SNAPSHOT. How to create Custom HTTP method SNAPSHOT with HTTP client. I tried SNAPSHOT HTTP method and API URL in Postman and its working absolutely fine. But I need the same to be implemented in java code. How do i do that ? Is there any jar file that could do this for me ? I have Apache webdav for propfind method,but unfortunately I couldn't find any jar or any implementation details for SNAPSHOT HTTP method. Please help !
![](http://jazz.net/_images/myphoto/3fe598603b416f01bf18b72ea1b2e27f.jpg)
Just adding along with the comment.
url used to create snapshot:
Request Body :
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ns2:snapshot xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns3="http://purl.org/dc/elements/1.1/">
<ns3:title>TC3 Snapshot 1</ns3:title>
<ns3:description/>
</ns2:snapshot>