SpiraPlan: REST Web Service (v6.0)

See all operations

POST: projects?existing_project_id={existing_project_id}

Description

Creates a new project in the system and makes the authenticated user owner of it. "Name" is the only required field in the body of the request (eg {"Name": "New Project"})

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/v6_0/RestService.svc/projects?existing_project_id={existing_project_id}

Request Parameters

Name Description
existing_project_id The id of an existing project to use as a template. Enter "...projects?existing_project_id" to use the default template

Request Body

Property Description
ProjectId The id of the project (integer)
ProjectTemplateId The id of the project template (null on create, means create a new template)
ProjectGroupId The id of the project group / program (null on create, means use default group)
Name The name of the project (string)
Description The description of the project (string)
Website The url associated with the project (string)
CreationDate The date/time the project was created (datetime)
Active Whether the project is active or not (boolean)
WorkingHours How many working hours are in a day for this project (integer)
WorkingDays How many working days are in a week for this project (integer)
NonWorkingHours How many special non-working hours are there in a month in the project (integer)
StartDate The start date of the project for planning purposes
EndDate The end date of the project for planning purposes
PercentComplete The percentage complete of the project

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
ProjectId The id of the project (integer)
ProjectTemplateId The id of the project template (null on create, means create a new template)
ProjectGroupId The id of the project group / program (null on create, means use default group)
Name The name of the project (string)
Description The description of the project (string)
Website The url associated with the project (string)
CreationDate The date/time the project was created (datetime)
Active Whether the project is active or not (boolean)
WorkingHours How many working hours are in a day for this project (integer)
WorkingDays How many working days are in a week for this project (integer)
NonWorkingHours How many special non-working hours are there in a month in the project (integer)
StartDate The start date of the project for planning purposes
EndDate The end date of the project for planning purposes
PercentComplete The percentage complete of the project