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

Get all applicable project bases (e.g Knowledge, Requirement, Development , Management, TestRun, TestLiberary module) based on a management project base id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

Management project base id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get all applicable project bases (e.g Knowledge, Requirement, Development , Management, TestRun, TestLiberary module) based on a management project base id

API_Data_P1DataOfIEnumerableOfNameIdPair
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

P1DataOfIEnumerableOfNameIdPair

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "Management": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Development": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Requirement": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Knowledge": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "TestRun": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "TestLiberary": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Defect": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<API_Data_P1DataOfArrayOfNameIdPairMXHMSyPF 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:Defect>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:Defect>
    <d2p1:Development>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:Development>
    <d2p1:Knowledge>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:Knowledge>
    <d2p1:Management>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:Management>
    <d2p1:Requirement>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:Requirement>
    <d2p1:TestLiberary>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:TestLiberary>
    <d2p1:TestRun>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:TestRun>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_P1DataOfArrayOfNameIdPairMXHMSyPF>