POST V2/odata/ProjectState

Inserts ProjectState entity

Request Information

URI Parameters

None.

Body Parameters

QicsUnity.Api.Areas.V2.Models.ProjectState
NameDescriptionTypeAdditional information
ProjectStateId

Gets or sets ProjectState.ProjectStateId

integer

Required

64-bit signed integer

Name

Gets or sets the ProjectState.Name

string

Required

IsDefault

Gets or sets a value indicating whether project state is default

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "ProjectStateId": "1",
  "Name": "sample 2",
  "IsDefault": true
}

application/xml, text/xml

Sample:
<ProjectState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <IsDefault>true</IsDefault>
  <Name>sample 2</Name>
  <ProjectStateId>1</ProjectStateId>
</ProjectState>

Response Information

Resource Description

QicsUnity.Api.Areas.V2.Models.ProjectState
NameDescriptionTypeAdditional information
ProjectStateId

Gets or sets ProjectState.ProjectStateId

integer

Required

64-bit signed integer

Name

Gets or sets the ProjectState.Name

string

Required

IsDefault

Gets or sets a value indicating whether project state is default

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "ProjectStateId": "1",
  "Name": "sample 2",
  "IsDefault": true
}

application/xml, text/xml

Sample:
<ProjectState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <IsDefault>true</IsDefault>
  <Name>sample 2</Name>
  <ProjectStateId>1</ProjectStateId>
</ProjectState>