In this example we use the Rapise REST testing capability to access the Spira v4.2 REST API.
The first thing to do is open up the Spira v4.2 REST API documentation and then navigate to the POST method for the Release-TestCases resource. The GET method would allow us to let a simple list of all the test cases in the release, but when we want a filtered list, we need the POST version:
Now we can create a new Rapise REST service and enter this URL and associated parameters:
You can see that we've parameterized all of the querystring variables. We have also entered a valid user login and API key as credentials. If you click the SEND button it will display a green success message:
When you execute this test you'll get back the data in JSON format:
The full test in Rapise looks like:
The full Rapise sample web service test project is attached to this article.