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

None.

Name

Gets or sets the ProjectState.Name

string

None.

IsDefault

Gets or sets a value indicating whether project state is default

boolean

None.

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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.