See all operations
POST: project-templates/blank
Description
Creates a blank project template (This template will not be functional without admin configuration of at least types, statuses and workflows for all artifacts.)
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/project-templates/blank
Request Body
Property
|
Description
|
ProjectTemplateId
|
The id of the project template
|
Name
|
The name of the project template
|
Description
|
The description of the project template
|
IsActive
|
Is this template active or not
|
Guid
|
The unique identifier for the workspace
|
ConcurrencyGuid
|
The field used to track optimistic concurrency to prevent edit conflicts
It's a GUID, but we use the string representation to make compatibility easier
|
CustomProperties
|
The list of associated custom properties/fields for this workspace
|
<RemoteProjectTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyGuid i:nil="true" />
<CustomProperties i:nil="true" />
<Guid i:nil="true" />
<LastUpdatedDate i:nil="true" />
<WorkspaceTypeId>0</WorkspaceTypeId>
<Description i:nil="true" />
<IsActive>false</IsActive>
<Name i:nil="true" />
<ProjectTemplateId i:nil="true" />
</RemoteProjectTemplate>
{"ProjectTemplateId":null,
"Name":null,
"Description":null,
"IsActive":false,
"WorkspaceTypeId":0,
"Guid":null,
"LastUpdatedDate":null,
"ArtifactTypeId":0,
"ConcurrencyGuid":null,
"CustomProperties":null}
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.
Property
|
Description
|
ProjectTemplateId
|
The id of the project template
|
Name
|
The name of the project template
|
Description
|
The description of the project template
|
IsActive
|
Is this template active or not
|
WorkspaceTypeId
|
The type of workspace that we have
|
Guid
|
The unique identifier for the workspace
|
LastUpdatedDate
|
Last time this item was updated
|
ArtifactTypeId
|
The type of artifact that we have
|
ConcurrencyGuid
|
The field used to track optimistic concurrency to prevent edit conflicts
It's a GUID, but we use the string representation to make compatibility easier
|
CustomProperties
|
The list of associated custom properties/fields for this workspace
|
<RemoteProjectTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyGuid i:nil="true" />
<CustomProperties i:nil="true" />
<Guid i:nil="true" />
<LastUpdatedDate i:nil="true" />
<WorkspaceTypeId>0</WorkspaceTypeId>
<Description i:nil="true" />
<IsActive>false</IsActive>
<Name i:nil="true" />
<ProjectTemplateId i:nil="true" />
</RemoteProjectTemplate>
{"ProjectTemplateId":null,
"Name":null,
"Description":null,
"IsActive":false,
"WorkspaceTypeId":0,
"Guid":null,
"LastUpdatedDate":null,
"ArtifactTypeId":0,
"ConcurrencyGuid":null,
"CustomProperties":null}