POST api/projectone/P1ProjectOptions2?projectId={projectId}&spaceId={spaceId}

Get a p1 project's feature options.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

spaceId

integer

Required

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get a p1 project's feature options.

API_Data_P1ProjectOptions2
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

P1ProjectOptions2

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "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:
<API_Data_P1ProjectOptions2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
    <d2p1:AdditionalSettings>
      <TSetting>
        <SettingId>1</SettingId>
        <SettingValue>
          <IntValue>1</IntValue>
          <SettingNote>sample string 3</SettingNote>
          <SettingText>sample string 2</SettingText>
        </SettingValue>
      </TSetting>
      <TSetting>
        <SettingId>1</SettingId>
        <SettingValue>
          <IntValue>1</IntValue>
          <SettingNote>sample string 3</SettingNote>
          <SettingText>sample string 2</SettingText>
        </SettingValue>
      </TSetting>
    </d2p1:AdditionalSettings>
    <d2p1:Options>
      <d2p1:Defect>
        <d2p1:ApplicableImplementationModuleIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </d2p1:ApplicableImplementationModuleIds>
        <d2p1:ApplicableImplementationModules xmlns:d5p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
          <d5p1:ImplementationModuleModel>
            <d5p1:AutoCreationOption>4</d5p1:AutoCreationOption>
            <d5p1:IfNonDevModule>true</d5p1:IfNonDevModule>
            <d5p1:IssueTemplateID>3</d5p1:IssueTemplateID>
            <d5p1:ModuleID>1</d5p1:ModuleID>
            <d5p1:ModuleName>sample string 2</d5p1:ModuleName>
          </d5p1:ImplementationModuleModel>
          <d5p1:ImplementationModuleModel>
            <d5p1:AutoCreationOption>4</d5p1:AutoCreationOption>
            <d5p1:IfNonDevModule>true</d5p1:IfNonDevModule>
            <d5p1:IssueTemplateID>3</d5p1:IssueTemplateID>
            <d5p1:ModuleID>1</d5p1:ModuleID>
            <d5p1:ModuleName>sample string 2</d5p1:ModuleName>
          </d5p1:ImplementationModuleModel>
        </d2p1:ApplicableImplementationModules>
        <d2p1:EnableClockOnAndOff>true</d2p1:EnableClockOnAndOff>
        <d2p1:SupportBacklogRoadmap>true</d2p1:SupportBacklogRoadmap>
        <d2p1:SupportPlanView>true</d2p1:SupportPlanView>
        <d2p1:SupportRelease>true</d2p1:SupportRelease>
        <d2p1:SupportReleaseBacklog>true</d2p1:SupportReleaseBacklog>
        <d2p1:SupportSprint>true</d2p1:SupportSprint>
        <d2p1:SupportWorkStory>true</d2p1:SupportWorkStory>
      </d2p1:Defect>
      <d2p1:Development>
        <d2p1:ApplicableImplementationModuleIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </d2p1:ApplicableImplementationModuleIds>
        <d2p1:ApplicableImplementationModules xmlns:d5p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
          <d5p1:ImplementationModuleModel>
            <d5p1:AutoCreationOption>4</d5p1:AutoCreationOption>
            <d5p1:IfNonDevModule>true</d5p1:IfNonDevModule>
            <d5p1:IssueTemplateID>3</d5p1:IssueTemplateID>
            <d5p1:ModuleID>1</d5p1:ModuleID>
            <d5p1:ModuleName>sample string 2</d5p1:ModuleName>
          </d5p1:ImplementationModuleModel>
          <d5p1:ImplementationModuleModel>
            <d5p1:AutoCreationOption>4</d5p1:AutoCreationOption>
            <d5p1:IfNonDevModule>true</d5p1:IfNonDevModule>
            <d5p1:IssueTemplateID>3</d5p1:IssueTemplateID>
            <d5p1:ModuleID>1</d5p1:ModuleID>
            <d5p1:ModuleName>sample string 2</d5p1:ModuleName>
          </d5p1:ImplementationModuleModel>
        </d2p1:ApplicableImplementationModules>
        <d2p1:EnableClockOnAndOff>true</d2p1:EnableClockOnAndOff>
        <d2p1:SupportBacklogRoadmap>true</d2p1:SupportBacklogRoadmap>
        <d2p1:SupportPlanView>true</d2p1:SupportPlanView>
        <d2p1:SupportRelease>true</d2p1:SupportRelease>
        <d2p1:SupportReleaseBacklog>true</d2p1:SupportReleaseBacklog>
        <d2p1:SupportSprint>true</d2p1:SupportSprint>
        <d2p1:SupportWorkStory>true</d2p1:SupportWorkStory>
      </d2p1:Development>
      <d2p1:EnableGroupChat>true</d2p1:EnableGroupChat>
      <d2p1:Management>
        <d2p1:ApplicableImplementationModuleIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </d2p1:ApplicableImplementationModuleIds>
        <d2p1:ApplicableImplementationModules xmlns:d5p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
          <d5p1:ImplementationModuleModel>
            <d5p1:AutoCreationOption>4</d5p1:AutoCreationOption>
            <d5p1:IfNonDevModule>true</d5p1:IfNonDevModule>
            <d5p1:IssueTemplateID>3</d5p1:IssueTemplateID>
            <d5p1:ModuleID>1</d5p1:ModuleID>
            <d5p1:ModuleName>sample string 2</d5p1:ModuleName>
          </d5p1:ImplementationModuleModel>
          <d5p1:ImplementationModuleModel>
            <d5p1:AutoCreationOption>4</d5p1:AutoCreationOption>
            <d5p1:IfNonDevModule>true</d5p1:IfNonDevModule>
            <d5p1:IssueTemplateID>3</d5p1:IssueTemplateID>
            <d5p1:ModuleID>1</d5p1:ModuleID>
            <d5p1:ModuleName>sample string 2</d5p1:ModuleName>
          </d5p1:ImplementationModuleModel>
        </d2p1:ApplicableImplementationModules>
        <d2p1:EnableClockOnAndOff>true</d2p1:EnableClockOnAndOff>
        <d2p1:EnableWorkPerformanceBaseOnTestingResult>true</d2p1:EnableWorkPerformanceBaseOnTestingResult>
        <d2p1:HideActualEndDateOverdue>true</d2p1:HideActualEndDateOverdue>
        <d2p1:ScoreMessage>sample string 7</d2p1:ScoreMessage>
        <d2p1:SupportAssignWork>true</d2p1:SupportAssignWork>
        <d2p1:SupportDefineScoreMessage>true</d2p1:SupportDefineScoreMessage>
        <d2p1:SupportPlanView>true</d2p1:SupportPlanView>
        <d2p1:SupportPlanningAndTaskBoardInManagement>true</d2p1:SupportPlanningAndTaskBoardInManagement>
        <d2p1:SupportProjectBudget>true</d2p1:SupportProjectBudget>
        <d2p1:SupportRelease>true</d2p1:SupportRelease>
        <d2p1:SupportSprint>true</d2p1:SupportSprint>
        <d2p1:SupportWorkStory>true</d2p1:SupportWorkStory>
      </d2p1:Management>
      <d2p1:Requirement>
        <d2p1:ReferApprovalAs>sample string 4</d2p1:ReferApprovalAs>
        <d2p1:ReferChangeAndApprovalAs>sample string 2</d2p1:ReferChangeAndApprovalAs>
        <d2p1:ReferChangeAs>sample string 3</d2p1:ReferChangeAs>
        <d2p1:SupportAssignPointsOption>5</d2p1:SupportAssignPointsOption>
        <d2p1:SupportBacklogRoadmap>true</d2p1:SupportBacklogRoadmap>
        <d2p1:SupportChangeAndApproval>true</d2p1:SupportChangeAndApproval>
      </d2p1:Requirement>
    </d2p1:Options>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_P1ProjectOptions2>