POST api/createstack

Create a new project and stack for a specified user

Request Information

URI Parameters

None.

Body Parameters

StackCreationRequest
NameDescriptionTypeAdditional information
ProjectCreationUserId

integer

None.

ProjectName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectCreationUserId": 1,
  "ProjectName": "sample string 2"
}

application/xml, text/xml

Sample:
<StackCreationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.API.RequestObjects">
  <ProjectCreationUserId>1</ProjectCreationUserId>
  <ProjectName>sample string 2</ProjectName>
</StackCreationRequest>

Response Information

Resource Description

Boolean value indicating success

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>