POST api/projectone/UpdateP1ProjectOverview
Update a p1 project's overview
Request Information
URI Parameters
None.
Body Parameters
P1ProjectOverviewUpdateBinderName | Description | Type | Additional information |
---|---|---|---|
P1ProjectType |
0: Agile Development, 1: Simple Task Tracking |
integer |
None. |
Identifier |
P1 project identifier |
string |
None. |
ProjectId | integer |
None. |
|
SubProjectId | integer |
None. |
|
GeneralInfo | TSubProjectInfo |
None. |
|
CustomFieldValues | Collection of FieldValueBinder |
None. |
Request Formats
application/json, text/json
Sample:
{ "P1ProjectType": 1, "Identifier": "sample string 2", "ProjectId": 3, "SubProjectId": 4, "GeneralInfo": { "StatusId": 1, "PrimaryManagerId": 1, "PriorityId": 1, "PlanStartDate": "2024-12-21 18:59:13", "PlanFinishDate": "2024-12-21 18:59:13", "SupportReleaseBacklog": 1, "SupportSubReleaseOption": 1, "TeamSupportOption": 1, "PSTypeId": 1, "DelayStatus": 1, "ProgressDescription": "sample string 5", "DelayDays": 1, "DelayReason": "sample string 6", "Description": "sample string 7", "ReleaseId": 1, "AccessOption": 1, "AccessInheritanceOption": 1, "SyncOptionForPPMTitle": 1, "SyncOptionForPPMReleaseInfo": 1, "MilestoneId": 1, "ProjectHierarchyId": 1, "SubProjectName": "sample string 8", "SubProjectType": 1, "DevelopmentMethod": 1 }, "CustomFieldValues": [ { "FieldId": 1, "Option": 1, "FieldValue": {} }, { "FieldId": 1, "Option": 1, "FieldValue": {} } ] }
application/xml, text/xml
Sample:
<P1ProjectOverviewUpdateBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne"> <CustomFieldValues xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <FieldValueBinder> <FieldId>1</FieldId> <FieldValue /> <Option>1</Option> </FieldValueBinder> <FieldValueBinder> <FieldId>1</FieldId> <FieldValue /> <Option>1</Option> </FieldValueBinder> </CustomFieldValues> <GeneralInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.SubProject" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <d2p1:DevelopmentMethod>1</d2p1:DevelopmentMethod> <d2p1:SubProjectName>sample string 8</d2p1:SubProjectName> <d2p1:SubProjectType>1</d2p1:SubProjectType> <d2p1:AccessInheritanceOption>1</d2p1:AccessInheritanceOption> <d2p1:AccessOption>1</d2p1:AccessOption> <d2p1:CustomField1>sample string 1</d2p1:CustomField1> <d2p1:CustomField2>sample string 2</d2p1:CustomField2> <d2p1:CustomField3>sample string 3</d2p1:CustomField3> <d2p1:CustomField4>sample string 4</d2p1:CustomField4> <d2p1:DelayDays>1</d2p1:DelayDays> <d2p1:DelayReason>sample string 6</d2p1:DelayReason> <d2p1:DelayStatus>1</d2p1:DelayStatus> <d2p1:Description>sample string 7</d2p1:Description> <d2p1:MilestoneId>1</d2p1:MilestoneId> <d2p1:PSTypeId>1</d2p1:PSTypeId> <d2p1:PlanFinishDate>2024-12-21T18:59:13.8365106-08:00</d2p1:PlanFinishDate> <d2p1:PlanStartDate>2024-12-21T18:59:13.8365106-08:00</d2p1:PlanStartDate> <d2p1:PrimaryManagerId>1</d2p1:PrimaryManagerId> <d2p1:PriorityId>1</d2p1:PriorityId> <d2p1:ProgressDescription>sample string 5</d2p1:ProgressDescription> <d2p1:ProjectHierarchyId>1</d2p1:ProjectHierarchyId> <d2p1:ReleaseId>1</d2p1:ReleaseId> <d2p1:StatusId>1</d2p1:StatusId> <d2p1:SupportReleaseBacklog>1</d2p1:SupportReleaseBacklog> <d2p1:SupportSubReleaseOption>1</d2p1:SupportSubReleaseOption> <d2p1:SyncOptionForPPMReleaseInfo>1</d2p1:SyncOptionForPPMReleaseInfo> <d2p1:SyncOptionForPPMTitle>1</d2p1:SyncOptionForPPMTitle> <d2p1:TeamSupportOption>1</d2p1:TeamSupportOption> </GeneralInfo> <ProjectId xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">3</ProjectId> <SubProjectId xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">4</SubProjectId> <Identifier>sample string 2</Identifier> <P1ProjectType>1</P1ProjectType> </P1ProjectOverviewUpdateBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update a p1 project's overview
API_Data_Int32Name | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": 2 }
application/xml, text/xml
Sample:
<API_Data_int xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data>2</Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_int>