See all operations
GET: projects
Description
Retrieves a list of projects that the authenticated user has access to.
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
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.
<ArrayOfRemoteProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<RemoteProject>
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyGuid i:nil="true" />
<CustomProperties i:nil="true" />
<Guid i:nil="true" />
<LastUpdatedDate i:nil="true" />
<WorkspaceTypeId>0</WorkspaceTypeId>
<Active>true</Active>
<CreationDate>0001-01-01T00:00:00</CreationDate>
<Description i:nil="true" />
<EndDate i:nil="true" />
<Name i:nil="true" />
<NonWorkingHours>0</NonWorkingHours>
<PercentComplete>0</PercentComplete>
<ProjectGroupId i:nil="true" />
<ProjectId i:nil="true" />
<ProjectTemplateId i:nil="true" />
<RequirementCount>0</RequirementCount>
<StartDate i:nil="true" />
<Website i:nil="true" />
<WorkingDays>0</WorkingDays>
<WorkingHours>0</WorkingHours>
</RemoteProject>
</ArrayOfRemoteProject>
[{"ProjectId":null,
"ProjectTemplateId":null,
"ProjectGroupId":null,
"Name":null,
"Description":null,
"Website":null,
"CreationDate":"0001-01-01T00:00:00",
"Active":true,
"WorkingHours":0,
"WorkingDays":0,
"NonWorkingHours":0,
"StartDate":null,
"EndDate":null,
"PercentComplete":0,
"RequirementCount":0,
"WorkspaceTypeId":0,
"Guid":null,
"LastUpdatedDate":null,
"ArtifactTypeId":0,
"ConcurrencyGuid":null,
"CustomProperties":null}]