See all operations
GET: projects/{project_id}/test-sets
Description
Retrieves a list of testSets in the current project
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
Request Parameters
Name
|
Description
|
project_id
|
The id of the current project
|
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.
<ArrayOfRemoteTestSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v4_0.DataObjects">
<RemoteTestSet>
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyDate>0001-01-01T00:00:00</ConcurrencyDate>
<CustomProperties i:nil="true" />
<ProjectId i:nil="true" />
<AutomationHostId i:nil="true" />
<CountBlocked i:nil="true" />
<CountCaution i:nil="true" />
<CountFailed i:nil="true" />
<CountNotApplicable i:nil="true" />
<CountNotRun i:nil="true" />
<CountPassed i:nil="true" />
<CreationDate>0001-01-01T00:00:00</CreationDate>
<CreatorId i:nil="true" />
<CreatorName i:nil="true" />
<Description i:nil="true" />
<ExecutionDate 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" />
<PlannedDate i:nil="true" />
<ProjectName i:nil="true" />
<RecurrenceId i:nil="true" />
<RecurrenceName i:nil="true" />
<ReleaseId i:nil="true" />
<ReleaseVersionNumber i:nil="true" />
<TestRunTypeId i:nil="true" />
<TestSetId i:nil="true" />
<TestSetStatusId>0</TestSetStatusId>
<TestSetStatusName i:nil="true" />
</RemoteTestSet>
</ArrayOfRemoteTestSet>
[{"ArtifactTypeId":0,
"ConcurrencyDate":"\/Date(-62135578800000-0500)\/",
"CustomProperties":null,
"ProjectId":null,
"AutomationHostId":null,
"CountBlocked":null,
"CountCaution":null,
"CountFailed":null,
"CountNotApplicable":null,
"CountNotRun":null,
"CountPassed":null,
"CreationDate":"\/Date(-62135578800000-0500)\/",
"CreatorId":null,
"CreatorName":null,
"Description":null,
"ExecutionDate":null,
"Folder":false,
"IndentLevel":null,
"LastUpdateDate":"\/Date(-62135578800000-0500)\/",
"Name":null,
"OwnerId":null,
"OwnerName":null,
"PlannedDate":null,
"ProjectName":null,
"RecurrenceId":null,
"RecurrenceName":null,
"ReleaseId":null,
"ReleaseVersionNumber":null,
"TestRunTypeId":null,
"TestSetId":null,
"TestSetStatusId":0,
"TestSetStatusName":null}]