POST api/projectone/UpdateProjectOptions

Save a p1 project's feature options.

Request Information

URI Parameters

None.

Body Parameters

P1ProjectOptionsUpdateBinder
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SpaceId

integer

None.

Options

P1ProjectOptions

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
        },
        {
          "ModuleID": 1,
          "ModuleName": "sample string 2",
          "IssueTemplateID": 3,
          "AutoCreationOption": 4
        }
      ],
      "SupportWorkStory": 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
        },
        {
          "ModuleID": 1,
          "ModuleName": "sample string 2",
          "IssueTemplateID": 3,
          "AutoCreationOption": 4
        }
      ],
      "SupportWorkStory": 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
        },
        {
          "ModuleID": 1,
          "ModuleName": "sample string 2",
          "IssueTemplateID": 3,
          "AutoCreationOption": 4
        }
      ],
      "SupportWorkStory": true
    },
    "Requirement": {
      "SupportChangeAndApproval": true,
      "ReferChangeAndApprovalAs": "sample string 2",
      "ReferChangeAs": "sample string 3",
      "ReferApprovalAs": "sample string 4",
      "SupportAssignPointsOption": 5
    },
    "EnableGroupChat": true
  }
}

application/xml, text/xml

Sample:
<P1ProjectOptionsUpdateBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
  <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: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:IssueTemplateID>3</d4p1:IssueTemplateID>
          <d4p1:ModuleID>1</d4p1:ModuleID>
          <d4p1:ModuleName>sample string 2</d4p1:ModuleName>
        </d4p1:ImplementationModuleModel>
      </ApplicableImplementationModules>
      <EnableClockOnAndOff>true</EnableClockOnAndOff>
      <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: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:IssueTemplateID>3</d4p1:IssueTemplateID>
          <d4p1:ModuleID>1</d4p1:ModuleID>
          <d4p1:ModuleName>sample string 2</d4p1:ModuleName>
        </d4p1:ImplementationModuleModel>
      </ApplicableImplementationModules>
      <EnableClockOnAndOff>true</EnableClockOnAndOff>
      <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: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:IssueTemplateID>3</d4p1:IssueTemplateID>
          <d4p1:ModuleID>1</d4p1:ModuleID>
          <d4p1:ModuleName>sample string 2</d4p1:ModuleName>
        </d4p1:ImplementationModuleModel>
      </ApplicableImplementationModules>
      <EnableClockOnAndOff>true</EnableClockOnAndOff>
      <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>
      <SupportChangeAndApproval>true</SupportChangeAndApproval>
    </Requirement>
  </Options>
  <ProjectId>1</ProjectId>
  <SpaceId>2</SpaceId>
</P1ProjectOptionsUpdateBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Save a p1 project's feature options.

ApiReturn
NameDescriptionTypeAdditional 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>