See all operations
GET: projects/{project_id}/test-folders/{parent_test_case_folder_id}/children?release_id={release_id}
Description
Retrieves a list of folders by the parent folder
How to Execute
To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/projects/{project_id}/test-folders/{parent_test_case_folder_id}/children?release_id={release_id}
Request Parameters
Name
|
Description
|
project_id
|
The id of the project
|
parent_test_case_folder_id
|
The id of the parent folder, or null = root
|
release_id
|
The id of the current release, or null = all releases
|
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.
<ArrayOfRemoteTestCaseFolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<RemoteTestCaseFolder>
<ActualDuration i:nil="true" />
<CountBlocked>0</CountBlocked>
<CountCaution>0</CountCaution>
<CountFailed>0</CountFailed>
<CountNotApplicable>0</CountNotApplicable>
<CountNotRun>0</CountNotRun>
<CountPassed>0</CountPassed>
<Description i:nil="true" />
<EstimatedDuration i:nil="true" />
<ExecutionDate i:nil="true" />
<Guid i:nil="true" />
<IndentLevel i:nil="true" />
<LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate>
<Name i:nil="true" />
<ParentTestCaseFolderId i:nil="true" />
<ProjectId>0</ProjectId>
<ProjectName i:nil="true" />
<TestCaseFolderId i:nil="true" />
</RemoteTestCaseFolder>
</ArrayOfRemoteTestCaseFolder>
[{"TestCaseFolderId":null,
"Guid":null,
"ProjectId":0,
"IndentLevel":null,
"Name":null,
"Description":null,
"LastUpdateDate":"0001-01-01T00:00:00",
"ExecutionDate":null,
"EstimatedDuration":null,
"ProjectName":null,
"ParentTestCaseFolderId":null,
"ActualDuration":null,
"CountBlocked":0,
"CountCaution":0,
"CountFailed":0,
"CountNotApplicable":0,
"CountNotRun":0,
"CountPassed":0}]