PUT api/consumer/v1/projects/{projectId}
Update an existing Project
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId |
ID of the Project |
integer |
Required |
Body Parameters
New Project informations
ProjectEditDtoName | Description | Type | Additional information |
---|---|---|---|
ProjectTypeId |
Type of project |
integer |
None |
OwnerId |
Owner of project |
integer |
None |
OrganizationalUnitId |
Organizational unit of project |
integer |
None |
CustomerId |
Customer of project |
integer |
None |
WorkFlowId |
Approval work flow of project |
integer |
None |
StartDate |
Start date of project |
date |
None |
EndDate |
End date of project |
date |
None |
Notes |
Notes of project |
string |
None |
CustomerRequest |
Customer request of project |
string |
None |
IsTimeMaterial |
Yes if project is time material |
boolean |
None |
NumMaxHours |
Max hours of project |
decimal number |
None |
AutoTaskType |
Auto task type |
character |
None |
Code |
The short code of the element |
string |
None |
Description |
The description of the element |
string |
None |
IsActive |
True if the element is active, false otherwise |
boolean |
None |
Id |
Unique ID |
integer |
None |
Request Formats
application/json, text/json
Sample:
{ "ProjectTypeId": 1, "OwnerId": 2, "OrganizationalUnitId": 3, "CustomerId": 4, "WorkFlowId": 5, "StartDate": "2024-11-01T19:31:18.3481586+01:00", "EndDate": "2024-11-01T19:31:18.3481586+01:00", "Notes": "sample string 8", "CustomerRequest": "sample string 9", "IsTimeMaterial": true, "NumMaxHours": 11.0, "AutoTaskType": "A", "Code": "sample string 12", "Description": "sample string 13", "IsActive": true, "Id": 15 }
application/xml, text/xml
Sample:
<ProjectEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Id>15</Id> <Code>sample string 12</Code> <Description>sample string 13</Description> <IsActive>true</IsActive> <AutoTaskType>65</AutoTaskType> <CustomerId>4</CustomerId> <CustomerRequest>sample string 9</CustomerRequest> <EndDate>2024-11-01T19:31:18.3481586+01:00</EndDate> <IsTimeMaterial>true</IsTimeMaterial> <Notes>sample string 8</Notes> <NumMaxHours>11</NumMaxHours> <OrganizationalUnitId>3</OrganizationalUnitId> <OwnerId>2</OwnerId> <ProjectTypeId>1</ProjectTypeId> <StartDate>2024-11-01T19:31:18.3481586+01:00</StartDate> <WorkFlowId>5</WorkFlowId> </ProjectEditDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None |
|
Content | HttpContent |
None |
|
StatusCode | HttpStatusCode |
None |
|
ReasonPhrase | string |
None |
|
Headers | Collection of Object |
None |
|
RequestMessage | HttpRequestMessage |
None |
|
IsSuccessStatusCode | boolean |
None |