PUT V2/odata/Project({key})

Updates Project entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

ProjectId from Project entity

integer

Required

Body Parameters

QicsUnity.Api.Areas.V2.Models.Project
NameDescriptionTypeAdditional information
AllowPlanning

Gets or sets a value indicating whether project planning is allowed

boolean

Required

ApprovalBy

Gets or sets ApprovalBy

QicsUnity.Api.Areas.V2.Models.ApprovalBy

Nullable

BudgetAmount

Gets or sets budget amount, gets sum of project child budgets values, set is used only when project has single budget to set single budget values

decimal number

Nullable

CategoryId

Gets or sets CategoryId

integer

64-bit signed integer

Nullable

CompanyId

Gets or sets CompanyId

integer

Required

64-bit signed integer

ContactPerson

Gets or sets ContactPerson

string

CostCenterId

Gets or sets CostCenterId

integer

64-bit signed integer

Nullable

CurrencyId

Gets or sets CurrencyId

integer

64-bit signed integer

Nullable

CustomerCompanyId

Gets or sets CustomerCompanyId from internal or external customer, whichever applies

integer

Required

64-bit signed integer

Nullable

EndDate

Gets or sets EndDate

date

date and time of day

Nullable

GrantedDate

Gets or sets GrantedDate

date

date and time of day

Nullable

HideBudgetsOnTimesheet

Gets or sets a value indicating whether task is hidden on timesheet for this project

boolean

Required

InternalProjectType

Gets or sets InternalProjectType

QicsUnity.Api.Areas.V2.Models.InternalProjectType

Nullable

IsActive

Gets or sets a value indicating whether this project is active

boolean

Required

IsContractReceived

Gets or sets a value indicating whether contract of the project has been received

boolean

Required

IsTaskMandatoryOnTimeEntry

Gets or sets a value indicating whether task is mandatory on time entry for this project

boolean

Required

LongDescription

Gets or sets LongDescription

string

Name

Gets or sets Name

string

Required

ProjectCode

Gets or sets ProjectCode

string

ProjectId

Gets or sets project id

integer

Required

64-bit signed integer

ProjectStateId

Gets or sets ProjectStateId

integer

64-bit signed integer

Nullable

ResourceCompanyId

Gets or sets ResourceCompanyId

integer

Required

64-bit signed integer

StartDate

Gets or sets StartDate

date

date and time of day

Nullable

IsTaskRequiredOnEntry

Gets or sets a value indicating whether task is required on timesheet entry

boolean

Nullable

Request Formats

application/json, text/json

Sample:
{
  "AllowPlanning": true,
  "ApprovalBy": "LineManager",
  "BudgetAmount": "1",
  "CategoryId": "1",
  "CompanyId": "2",
  "ContactPerson": "sample 3",
  "CostCenterId": "1",
  "CurrencyId": "1",
  "CustomerCompanyId": "1",
  "EndDate": "2024-03-28T20:47:00.9388541+00:00",
  "GrantedDate": "2024-03-28T20:47:00.9388541+00:00",
  "HideBudgetsOnTimesheet": true,
  "InternalProjectType": "Unspecified",
  "IsActive": true,
  "IsContractReceived": true,
  "IsTaskMandatoryOnTimeEntry": true,
  "LongDescription": "sample 8",
  "Name": "sample 9",
  "ProjectCode": "sample 10",
  "ProjectId": "11",
  "ProjectStateId": "1",
  "ResourceCompanyId": "12",
  "StartDate": "2024-03-28T20:47:00.9388541+00:00",
  "IsTaskRequiredOnEntry": true
}

application/xml, text/xml

Sample:
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <AllowPlanning>true</AllowPlanning>
  <ApprovalBy>LineManager</ApprovalBy>
  <BudgetAmount>1</BudgetAmount>
  <CategoryId>1</CategoryId>
  <CompanyId>2</CompanyId>
  <ContactPerson>sample 3</ContactPerson>
  <CostCenterId>1</CostCenterId>
  <CurrencyId>1</CurrencyId>
  <CustomerCompanyId>1</CustomerCompanyId>
  <EndDate>2024-03-28T20:47:00.9388541+00:00</EndDate>
  <GrantedDate>2024-03-28T20:47:00.9388541+00:00</GrantedDate>
  <HideBudgetsOnTimesheet>true</HideBudgetsOnTimesheet>
  <InternalProjectType>Unspecified</InternalProjectType>
  <IsActive>true</IsActive>
  <IsContractReceived>true</IsContractReceived>
  <IsTaskMandatoryOnTimeEntry>true</IsTaskMandatoryOnTimeEntry>
  <IsTaskRequiredOnEntry>true</IsTaskRequiredOnEntry>
  <LongDescription>sample 8</LongDescription>
  <Name>sample 9</Name>
  <ProjectCode>sample 10</ProjectCode>
  <ProjectId>11</ProjectId>
  <ProjectStateId>1</ProjectStateId>
  <ResourceCompanyId>12</ResourceCompanyId>
  <StartDate>2024-03-28T20:47:00.9388541+00:00</StartDate>
</Project>

Response Information

Resource Description

QicsUnity.Api.Areas.V2.Models.Project
NameDescriptionTypeAdditional information
AllowPlanning

Gets or sets a value indicating whether project planning is allowed

boolean

Required

ApprovalBy

Gets or sets ApprovalBy

QicsUnity.Api.Areas.V2.Models.ApprovalBy

Nullable

BudgetAmount

Gets or sets budget amount, gets sum of project child budgets values, set is used only when project has single budget to set single budget values

decimal number

Nullable

CategoryId

Gets or sets CategoryId

integer

64-bit signed integer

Nullable

CompanyId

Gets or sets CompanyId

integer

Required

64-bit signed integer

ContactPerson

Gets or sets ContactPerson

string

CostCenterId

Gets or sets CostCenterId

integer

64-bit signed integer

Nullable

CurrencyId

Gets or sets CurrencyId

integer

64-bit signed integer

Nullable

CustomerCompanyId

Gets or sets CustomerCompanyId from internal or external customer, whichever applies

integer

Required

64-bit signed integer

Nullable

EndDate

Gets or sets EndDate

date

date and time of day

Nullable

GrantedDate

Gets or sets GrantedDate

date

date and time of day

Nullable

HideBudgetsOnTimesheet

Gets or sets a value indicating whether task is hidden on timesheet for this project

boolean

Required

InternalProjectType

Gets or sets InternalProjectType

QicsUnity.Api.Areas.V2.Models.InternalProjectType

Nullable

IsActive

Gets or sets a value indicating whether this project is active

boolean

Required

IsContractReceived

Gets or sets a value indicating whether contract of the project has been received

boolean

Required

IsTaskMandatoryOnTimeEntry

Gets or sets a value indicating whether task is mandatory on time entry for this project

boolean

Required

LongDescription

Gets or sets LongDescription

string

Name

Gets or sets Name

string

Required

ProjectCode

Gets or sets ProjectCode

string

ProjectId

Gets or sets project id

integer

Required

64-bit signed integer

ProjectStateId

Gets or sets ProjectStateId

integer

64-bit signed integer

Nullable

ResourceCompanyId

Gets or sets ResourceCompanyId

integer

Required

64-bit signed integer

StartDate

Gets or sets StartDate

date

date and time of day

Nullable

IsTaskRequiredOnEntry

Gets or sets a value indicating whether task is required on timesheet entry

boolean

Nullable

Response Formats

application/json, text/json

Sample:
{
  "AllowPlanning": true,
  "ApprovalBy": "LineManager",
  "BudgetAmount": "1",
  "CategoryId": "1",
  "CompanyId": "2",
  "ContactPerson": "sample 3",
  "CostCenterId": "1",
  "CurrencyId": "1",
  "CustomerCompanyId": "1",
  "EndDate": "2024-03-28T20:47:00.9388541+00:00",
  "GrantedDate": "2024-03-28T20:47:00.9388541+00:00",
  "HideBudgetsOnTimesheet": true,
  "InternalProjectType": "Unspecified",
  "IsActive": true,
  "IsContractReceived": true,
  "IsTaskMandatoryOnTimeEntry": true,
  "LongDescription": "sample 8",
  "Name": "sample 9",
  "ProjectCode": "sample 10",
  "ProjectId": "11",
  "ProjectStateId": "1",
  "ResourceCompanyId": "12",
  "StartDate": "2024-03-28T20:47:00.9388541+00:00",
  "IsTaskRequiredOnEntry": true
}

application/xml, text/xml

Sample:
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <AllowPlanning>true</AllowPlanning>
  <ApprovalBy>LineManager</ApprovalBy>
  <BudgetAmount>1</BudgetAmount>
  <CategoryId>1</CategoryId>
  <CompanyId>2</CompanyId>
  <ContactPerson>sample 3</ContactPerson>
  <CostCenterId>1</CostCenterId>
  <CurrencyId>1</CurrencyId>
  <CustomerCompanyId>1</CustomerCompanyId>
  <EndDate>2024-03-28T20:47:00.9388541+00:00</EndDate>
  <GrantedDate>2024-03-28T20:47:00.9388541+00:00</GrantedDate>
  <HideBudgetsOnTimesheet>true</HideBudgetsOnTimesheet>
  <InternalProjectType>Unspecified</InternalProjectType>
  <IsActive>true</IsActive>
  <IsContractReceived>true</IsContractReceived>
  <IsTaskMandatoryOnTimeEntry>true</IsTaskMandatoryOnTimeEntry>
  <IsTaskRequiredOnEntry>true</IsTaskRequiredOnEntry>
  <LongDescription>sample 8</LongDescription>
  <Name>sample 9</Name>
  <ProjectCode>sample 10</ProjectCode>
  <ProjectId>11</ProjectId>
  <ProjectStateId>1</ProjectStateId>
  <ResourceCompanyId>12</ResourceCompanyId>
  <StartDate>2024-03-28T20:47:00.9388541+00:00</StartDate>
</Project>