See all operations
GET: projects/{project_id}/test-sets/{test_set_id}/test-cases
Description
Retrieves all the test cases that are part of a test set
How to Execute
To access this REST web service, you need to use the following URL:
https://api.inflectra.com/Spira/Services/v4_0/RestService.svc/projects/{project_id}/test-sets/{test_set_id}/test-cases
Request Parameters
Name
|
Description
|
project_id
|
The id of the current project
|
test_set_id
|
The id of the test set
|
Request Body
Return Data
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
<ArrayOfRemoteTestCase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v4_0.DataObjects">
<RemoteTestCase>
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyDate>0001-01-01T00:00:00</ConcurrencyDate>
<CustomProperties i:nil="true" />
<ProjectId i:nil="true" />
<Active>false</Active>
<AuthorId i:nil="true" />
<AuthorName i:nil="true" />
<AutomationAttachmentId i:nil="true" />
<AutomationEngineId i:nil="true" />
<CreationDate>0001-01-01T00:00:00</CreationDate>
<Description i:nil="true" />
<EstimatedDuration i:nil="true" />
<ExecutionDate i:nil="true" />
<ExecutionStatusId i:nil="true" />
<Folder>false</Folder>
<IndentLevel i:nil="true" />
<LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate>
<Name i:nil="true" />
<OwnerId i:nil="true" />
<OwnerName i:nil="true" />
<ProjectName i:nil="true" />
<TestCaseId i:nil="true" />
<TestCasePriorityId i:nil="true" />
<TestCasePriorityName i:nil="true" />
<TestSteps i:nil="true" />
</RemoteTestCase>
</ArrayOfRemoteTestCase>
[{"ArtifactTypeId":0,
"ConcurrencyDate":"\/Date(-62135578800000-0500)\/",
"CustomProperties":null,
"ProjectId":null,
"Active":false,
"AuthorId":null,
"AuthorName":null,
"AutomationAttachmentId":null,
"AutomationEngineId":null,
"CreationDate":"\/Date(-62135578800000-0500)\/",
"Description":null,
"EstimatedDuration":null,
"ExecutionDate":null,
"ExecutionStatusId":null,
"Folder":false,
"IndentLevel":null,
"LastUpdateDate":"\/Date(-62135578800000-0500)\/",
"Name":null,
"OwnerId":null,
"OwnerName":null,
"ProjectName":null,
"TestCaseId":null,
"TestCasePriorityId":null,
"TestCasePriorityName":null,
"TestSteps":null}]