POST api/projectone/applicableAccountTypes

Get all applicable account types grouped by module (e.g Knowledge, Requirement, Development , Management, TestRun, TestLiberary module)

Request Information

URI Parameters

None.

Body Parameters

P1DataOfNullableOfInt32
NameDescriptionTypeAdditional information
Management

integer

None.

Development

integer

None.

Requirement

integer

None.

Knowledge

integer

None.

TestRun

integer

None.

TestLiberary

integer

None.

Defect

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Management": 1,
  "Development": 1,
  "Requirement": 1,
  "Knowledge": 1,
  "TestRun": 1,
  "TestLiberary": 1,
  "Defect": 1
}

application/xml, text/xml

Sample:
<P1DataOfNullableOfint5F2dSckg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
  <Defect>1</Defect>
  <Development>1</Development>
  <Knowledge>1</Knowledge>
  <Management>1</Management>
  <Requirement>1</Requirement>
  <TestLiberary>1</TestLiberary>
  <TestRun>1</TestRun>
</P1DataOfNullableOfint5F2dSckg>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get all applicable account types grouped by module (e.g Knowledge, Requirement, Development , Management, TestRun, TestLiberary module)

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>