GET api/projectone/GroupedApplicableProjectBaseByModule?projectId={projectId}

This api is not recommended, it will be removed soon, please use api/projectone/ApplicableProjectBases. Get all applicable project base grouped by module (e.g Knowledge, Requirement, Development , Management, TestRun, TestLiberary module) based on a development project base id or a management project base id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

Body Parameters

None.

Response Information

Resource Description

This api is not recommended, it will be removed soon, please use api/projectone/ApplicableProjectBases. Get all applicable project base grouped by module (e.g Knowledge, Requirement, Development , Management, TestRun, TestLiberary module) based on a development project base id or a management project base id

API_Data_GroupedProjectBaseListByModule
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

GroupedProjectBaseListByModule

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ManagementProjectBase": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "DevelopmentProjectBase": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "KnowledgeProjectBase": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "RequirementProjectBase": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "TestRunProjectBase": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "TestLiberaryProjectBase": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<API_Data_GroupedProjectBaseListByModule 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.Entities">
    <d2p1:DevelopmentProjectBase>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:DevelopmentProjectBase>
    <d2p1:KnowledgeProjectBase>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:KnowledgeProjectBase>
    <d2p1:ManagementProjectBase>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </d2p1:ManagementProjectBase>
    <d2p1:RequirementProjectBase>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:RequirementProjectBase>
    <d2p1:TestLiberaryProjectBase>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:TestLiberaryProjectBase>
    <d2p1:TestRunProjectBase>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:TestRunProjectBase>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_GroupedProjectBaseListByModule>