POST api/projectone/UpdateProjectOptions2
Save a p1 project's feature options.
Request Information
URI Parameters
None.
Body Parameters
P1ProjectOptionsUpdateBinder2Name | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
SpaceId | integer |
None. |
|
Options | P1ProjectOptions |
None. |
|
AdditionalSettings | Collection of TSetting |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectId": 1, "SpaceId": 2, "Options": { "Management": { "SupportRelease": true, "SupportSprint": true, "SupportAssignWork": true, "SupportPlanningAndTaskBoardInManagement": true, "SupportProjectBudget": true, "SupportDefineScoreMessage": true, "ScoreMessage": "sample string 7", "EnableClockOnAndOff": true, "SupportPlanView": true, "ApplicableImplementationModuleIds": [ 1, 2 ], "ApplicableImplementationModules": [ { "ModuleID": 1, "ModuleName": "sample string 2", "IssueTemplateID": 3, "AutoCreationOption": 4, "IfNonDevModule": true }, { "ModuleID": 1, "ModuleName": "sample string 2", "IssueTemplateID": 3, "AutoCreationOption": 4, "IfNonDevModule": true } ], "SupportWorkStory": true, "EnableWorkPerformanceBaseOnTestingResult": true, "HideActualEndDateOverdue": true }, "Development": { "SupportRelease": true, "SupportSprint": true, "SupportReleaseBacklog": true, "EnableClockOnAndOff": true, "SupportPlanView": true, "ApplicableImplementationModuleIds": [ 1, 2 ], "ApplicableImplementationModules": [ { "ModuleID": 1, "ModuleName": "sample string 2", "IssueTemplateID": 3, "AutoCreationOption": 4, "IfNonDevModule": true }, { "ModuleID": 1, "ModuleName": "sample string 2", "IssueTemplateID": 3, "AutoCreationOption": 4, "IfNonDevModule": true } ], "SupportWorkStory": true, "SupportBacklogRoadmap": true }, "Defect": { "SupportRelease": true, "SupportSprint": true, "SupportReleaseBacklog": true, "EnableClockOnAndOff": true, "SupportPlanView": true, "ApplicableImplementationModuleIds": [ 1, 2 ], "ApplicableImplementationModules": [ { "ModuleID": 1, "ModuleName": "sample string 2", "IssueTemplateID": 3, "AutoCreationOption": 4, "IfNonDevModule": true }, { "ModuleID": 1, "ModuleName": "sample string 2", "IssueTemplateID": 3, "AutoCreationOption": 4, "IfNonDevModule": true } ], "SupportWorkStory": true, "SupportBacklogRoadmap": true }, "Requirement": { "SupportChangeAndApproval": true, "ReferChangeAndApprovalAs": "sample string 2", "ReferChangeAs": "sample string 3", "ReferApprovalAs": "sample string 4", "SupportAssignPointsOption": 5, "SupportBacklogRoadmap": true }, "EnableGroupChat": true }, "AdditionalSettings": [ { "SettingId": 1, "SettingValue": { "IntValue": 1, "SettingText": "sample string 2", "SettingNote": "sample string 3" } }, { "SettingId": 1, "SettingValue": { "IntValue": 1, "SettingText": "sample string 2", "SettingNote": "sample string 3" } } ] }
application/xml, text/xml
Sample:
<P1ProjectOptionsUpdateBinder2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne"> <AdditionalSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <d2p1:TSetting> <d2p1:SettingId>1</d2p1:SettingId> <d2p1:SettingValue> <d2p1:IntValue>1</d2p1:IntValue> <d2p1:SettingNote>sample string 3</d2p1:SettingNote> <d2p1:SettingText>sample string 2</d2p1:SettingText> </d2p1:SettingValue> </d2p1:TSetting> <d2p1:TSetting> <d2p1:SettingId>1</d2p1:SettingId> <d2p1:SettingValue> <d2p1:IntValue>1</d2p1:IntValue> <d2p1:SettingNote>sample string 3</d2p1:SettingNote> <d2p1:SettingText>sample string 2</d2p1:SettingText> </d2p1:SettingValue> </d2p1:TSetting> </AdditionalSettings> <Options> <Defect> <ApplicableImplementationModuleIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ApplicableImplementationModuleIds> <ApplicableImplementationModules xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d4p1:ImplementationModuleModel> <d4p1:AutoCreationOption>4</d4p1:AutoCreationOption> <d4p1:IfNonDevModule>true</d4p1:IfNonDevModule> <d4p1:IssueTemplateID>3</d4p1:IssueTemplateID> <d4p1:ModuleID>1</d4p1:ModuleID> <d4p1:ModuleName>sample string 2</d4p1:ModuleName> </d4p1:ImplementationModuleModel> <d4p1:ImplementationModuleModel> <d4p1:AutoCreationOption>4</d4p1:AutoCreationOption> <d4p1:IfNonDevModule>true</d4p1:IfNonDevModule> <d4p1:IssueTemplateID>3</d4p1:IssueTemplateID> <d4p1:ModuleID>1</d4p1:ModuleID> <d4p1:ModuleName>sample string 2</d4p1:ModuleName> </d4p1:ImplementationModuleModel> </ApplicableImplementationModules> <EnableClockOnAndOff>true</EnableClockOnAndOff> <SupportBacklogRoadmap>true</SupportBacklogRoadmap> <SupportPlanView>true</SupportPlanView> <SupportRelease>true</SupportRelease> <SupportReleaseBacklog>true</SupportReleaseBacklog> <SupportSprint>true</SupportSprint> <SupportWorkStory>true</SupportWorkStory> </Defect> <Development> <ApplicableImplementationModuleIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ApplicableImplementationModuleIds> <ApplicableImplementationModules xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d4p1:ImplementationModuleModel> <d4p1:AutoCreationOption>4</d4p1:AutoCreationOption> <d4p1:IfNonDevModule>true</d4p1:IfNonDevModule> <d4p1:IssueTemplateID>3</d4p1:IssueTemplateID> <d4p1:ModuleID>1</d4p1:ModuleID> <d4p1:ModuleName>sample string 2</d4p1:ModuleName> </d4p1:ImplementationModuleModel> <d4p1:ImplementationModuleModel> <d4p1:AutoCreationOption>4</d4p1:AutoCreationOption> <d4p1:IfNonDevModule>true</d4p1:IfNonDevModule> <d4p1:IssueTemplateID>3</d4p1:IssueTemplateID> <d4p1:ModuleID>1</d4p1:ModuleID> <d4p1:ModuleName>sample string 2</d4p1:ModuleName> </d4p1:ImplementationModuleModel> </ApplicableImplementationModules> <EnableClockOnAndOff>true</EnableClockOnAndOff> <SupportBacklogRoadmap>true</SupportBacklogRoadmap> <SupportPlanView>true</SupportPlanView> <SupportRelease>true</SupportRelease> <SupportReleaseBacklog>true</SupportReleaseBacklog> <SupportSprint>true</SupportSprint> <SupportWorkStory>true</SupportWorkStory> </Development> <EnableGroupChat>true</EnableGroupChat> <Management> <ApplicableImplementationModuleIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ApplicableImplementationModuleIds> <ApplicableImplementationModules xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d4p1:ImplementationModuleModel> <d4p1:AutoCreationOption>4</d4p1:AutoCreationOption> <d4p1:IfNonDevModule>true</d4p1:IfNonDevModule> <d4p1:IssueTemplateID>3</d4p1:IssueTemplateID> <d4p1:ModuleID>1</d4p1:ModuleID> <d4p1:ModuleName>sample string 2</d4p1:ModuleName> </d4p1:ImplementationModuleModel> <d4p1:ImplementationModuleModel> <d4p1:AutoCreationOption>4</d4p1:AutoCreationOption> <d4p1:IfNonDevModule>true</d4p1:IfNonDevModule> <d4p1:IssueTemplateID>3</d4p1:IssueTemplateID> <d4p1:ModuleID>1</d4p1:ModuleID> <d4p1:ModuleName>sample string 2</d4p1:ModuleName> </d4p1:ImplementationModuleModel> </ApplicableImplementationModules> <EnableClockOnAndOff>true</EnableClockOnAndOff> <EnableWorkPerformanceBaseOnTestingResult>true</EnableWorkPerformanceBaseOnTestingResult> <HideActualEndDateOverdue>true</HideActualEndDateOverdue> <ScoreMessage>sample string 7</ScoreMessage> <SupportAssignWork>true</SupportAssignWork> <SupportDefineScoreMessage>true</SupportDefineScoreMessage> <SupportPlanView>true</SupportPlanView> <SupportPlanningAndTaskBoardInManagement>true</SupportPlanningAndTaskBoardInManagement> <SupportProjectBudget>true</SupportProjectBudget> <SupportRelease>true</SupportRelease> <SupportSprint>true</SupportSprint> <SupportWorkStory>true</SupportWorkStory> </Management> <Requirement> <ReferApprovalAs>sample string 4</ReferApprovalAs> <ReferChangeAndApprovalAs>sample string 2</ReferChangeAndApprovalAs> <ReferChangeAs>sample string 3</ReferChangeAs> <SupportAssignPointsOption>5</SupportAssignPointsOption> <SupportBacklogRoadmap>true</SupportBacklogRoadmap> <SupportChangeAndApproval>true</SupportChangeAndApproval> </Requirement> </Options> <ProjectId>1</ProjectId> <SpaceId>2</SpaceId> </P1ProjectOptionsUpdateBinder2>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Save a p1 project's feature options.
ApiReturnName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" } }
application/xml, text/xml
Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </ApiReturn>