POST V3/odata/Project
Inserts Project entity
Request Information
URI Parameters
None.
Body Parameters
QicsUnity.Api.Areas.V3.Models.ProjectName | Description | Type | Additional information |
---|---|---|---|
AllowPlanning |
Gets or sets a value indicating whether project planning is allowed |
boolean |
Required |
ApprovalBy |
Gets or sets ApprovalBy |
QicsUnity.Api.Areas.V3.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.V3.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 |
IsBudgetMandatoryOnTimeEntry |
Gets or sets a value indicating whether budget 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 |
InvoicingAgreementIds |
Gets or sets IDs of invoicing agreements linked to the project |
Collection of integer |
Request Formats
application/json, text/json
{ "AllowPlanning": true, "ApprovalBy": "LineManager", "BudgetAmount": "1", "CategoryId": "1", "CompanyId": "2", "ContactPerson": "sample 3", "CostCenterId": "1", "CurrencyId": "1", "CustomerCompanyId": "1", "EndDate": "2024-12-22T17:50:17.3409102+00:00", "GrantedDate": "2024-12-22T17:50:17.3409102+00:00", "HideBudgetsOnTimesheet": true, "InternalProjectType": "Unspecified", "IsActive": true, "IsContractReceived": true, "IsBudgetMandatoryOnTimeEntry": true, "LongDescription": "sample 8", "Name": "sample 9", "ProjectCode": "sample 10", "ProjectId": "11", "ProjectStateId": "1", "ResourceCompanyId": "12", "StartDate": "2024-12-22T17:50:17.3409102+00:00", "IsTaskRequiredOnEntry": true, "InvoicingAgreementIds": [ "1", "2" ] }
application/xml, text/xml
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.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-12-22T17:50:17.3409102+00:00</EndDate> <GrantedDate>2024-12-22T17:50:17.3409102+00:00</GrantedDate> <HideBudgetsOnTimesheet>true</HideBudgetsOnTimesheet> <InternalProjectType>Unspecified</InternalProjectType> <InvoicingAgreementIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </InvoicingAgreementIds> <IsActive>true</IsActive> <IsBudgetMandatoryOnTimeEntry>true</IsBudgetMandatoryOnTimeEntry> <IsContractReceived>true</IsContractReceived> <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-12-22T17:50:17.3409102+00:00</StartDate> </Project>
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.ProjectName | Description | Type | Additional information |
---|---|---|---|
AllowPlanning |
Gets or sets a value indicating whether project planning is allowed |
boolean |
Required |
ApprovalBy |
Gets or sets ApprovalBy |
QicsUnity.Api.Areas.V3.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.V3.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 |
IsBudgetMandatoryOnTimeEntry |
Gets or sets a value indicating whether budget 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 |
InvoicingAgreementIds |
Gets or sets IDs of invoicing agreements linked to the project |
Collection of integer |
Response Formats
application/json, text/json
{ "AllowPlanning": true, "ApprovalBy": "LineManager", "BudgetAmount": "1", "CategoryId": "1", "CompanyId": "2", "ContactPerson": "sample 3", "CostCenterId": "1", "CurrencyId": "1", "CustomerCompanyId": "1", "EndDate": "2024-12-22T17:50:17.3409102+00:00", "GrantedDate": "2024-12-22T17:50:17.3409102+00:00", "HideBudgetsOnTimesheet": true, "InternalProjectType": "Unspecified", "IsActive": true, "IsContractReceived": true, "IsBudgetMandatoryOnTimeEntry": true, "LongDescription": "sample 8", "Name": "sample 9", "ProjectCode": "sample 10", "ProjectId": "11", "ProjectStateId": "1", "ResourceCompanyId": "12", "StartDate": "2024-12-22T17:50:17.3409102+00:00", "IsTaskRequiredOnEntry": true, "InvoicingAgreementIds": [ "1", "2" ] }
application/xml, text/xml
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.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-12-22T17:50:17.3409102+00:00</EndDate> <GrantedDate>2024-12-22T17:50:17.3409102+00:00</GrantedDate> <HideBudgetsOnTimesheet>true</HideBudgetsOnTimesheet> <InternalProjectType>Unspecified</InternalProjectType> <InvoicingAgreementIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </InvoicingAgreementIds> <IsActive>true</IsActive> <IsBudgetMandatoryOnTimeEntry>true</IsBudgetMandatoryOnTimeEntry> <IsContractReceived>true</IsContractReceived> <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-12-22T17:50:17.3409102+00:00</StartDate> </Project>