PUT V3/odata/ProjectState({key})

Updates ProjectState entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

ProjectStateId from ProjectState entity

integer

Required

Body Parameters

QicsUnity.Api.Areas.V3.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

IsActive

Gets or sets a value indicating whether project state is active

boolean

DisplayOrder

Gets or sets display order of project state

integer

ProgramId

Gets or sets program ID

integer

64-bit signed integer

Request Formats

application/json, text/json

Sample:
{
  "ProjectStateId": "1",
  "Name": "sample 2",
  "IsActive": true,
  "DisplayOrder": "4",
  "ProgramId": "5"
}

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.V3.Models">
  <DisplayOrder>4</DisplayOrder>
  <IsActive>true</IsActive>
  <Name>sample 2</Name>
  <ProgramId>5</ProgramId>
  <ProjectStateId>1</ProjectStateId>
</ProjectState>

Response Information

Resource Description

QicsUnity.Api.Areas.V3.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

IsActive

Gets or sets a value indicating whether project state is active

boolean

DisplayOrder

Gets or sets display order of project state

integer

ProgramId

Gets or sets program ID

integer

64-bit signed integer

Response Formats

application/json, text/json

Sample:
{
  "ProjectStateId": "1",
  "Name": "sample 2",
  "IsActive": true,
  "DisplayOrder": "4",
  "ProgramId": "5"
}

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.V3.Models">
  <DisplayOrder>4</DisplayOrder>
  <IsActive>true</IsActive>
  <Name>sample 2</Name>
  <ProgramId>5</ProgramId>
  <ProjectStateId>1</ProjectStateId>
</ProjectState>