Retrieves a single test case in the system
This also populates the test steps collection if you have the appropriate permissions
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):
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.
<RemoteTestCase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v6_0.DataObjects">
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyDate>0001-01-01T00:00:00</ConcurrencyDate>
<CustomProperties i:nil="true" />
<IsAttachments>false</IsAttachments>
<ProjectId>0</ProjectId>
<Tags i:nil="true" />
<ActualDuration i:nil="true" />
<AuthorId i:nil="true" />
<AuthorName i:nil="true" />
<AutomationAttachmentId i:nil="true" />
<AutomationEngineId i:nil="true" />
<ComponentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" 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" />
<ExecutionStatusName i:nil="true" />
<IsSuspect>false</IsSuspect>
<IsTestSteps>false</IsTestSteps>
<LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate>
<Name i:nil="true" />
<OwnerId i:nil="true" />
<OwnerName i:nil="true" />
<ProjectName i:nil="true" />
<TestCaseFolderId i:nil="true" />
<TestCaseId i:nil="true" />
<TestCasePriorityId i:nil="true" />
<TestCasePriorityName i:nil="true" />
<TestCaseStatusId>0</TestCaseStatusId>
<TestCaseStatusName i:nil="true" />
<TestCaseTypeId i:nil="true" />
<TestCaseTypeName i:nil="true" />
<TestSteps i:nil="true" />
</RemoteTestCase>
{"TestCaseId":null,
"ExecutionStatusId":null,
"AuthorId":null,
"OwnerId":null,
"TestCasePriorityId":null,
"TestCaseTypeId":null,
"TestCaseStatusId":0,
"TestCaseFolderId":null,
"ComponentIds":null,
"AutomationEngineId":null,
"AutomationAttachmentId":null,
"Name":null,
"Description":null,
"CreationDate":"0001-01-01T00:00:00",
"LastUpdateDate":"0001-01-01T00:00:00",
"ExecutionDate":null,
"EstimatedDuration":null,
"AuthorName":null,
"OwnerName":null,
"ProjectName":null,
"TestCasePriorityName":null,
"TestCaseStatusName":null,
"TestCaseTypeName":null,
"ExecutionStatusName":null,
"TestSteps":null,
"ActualDuration":null,
"IsSuspect":false,
"IsTestSteps":false,
"ProjectId":0,
"ArtifactTypeId":0,
"ConcurrencyDate":"0001-01-01T00:00:00",
"CustomProperties":null,
"IsAttachments":false,
"Tags":null}