GET api/projectone/P1Modules?projectId={projectId}&spaceId={spaceId}

Get P1 Project modules based on a mangagement space or a development space

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

spaceId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get P1 Project modules based on a mangagement space or a development space

API_Data_P1DataOfP1ModuleOfSpaceAccessibility
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

P1DataOfP1ModuleOfSpaceAccessibility

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "Management": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    },
    "Development": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    },
    "Requirement": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    },
    "Knowledge": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    },
    "TestRun": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    },
    "TestLiberary": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    },
    "Defect": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "ProjectBaseName": "sample string 2",
        "projectId": 3,
        "spaceId": 4,
        "spaceName": "sample string 5",
        "projectType": 6,
        "category": 7
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        },
        {
          "CanAccess": true,
          "ProjectBaseName": "sample string 2",
          "projectId": 3,
          "spaceId": 4,
          "spaceName": "sample string 5",
          "projectType": 6,
          "category": 7
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<API_Data_P1DataOfP1ModuleOfSpaceAccessibilitybs1L93vzyaF2QcGw 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>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:Defect>
    <d2p1:Development>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:Development>
    <d2p1:Knowledge>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:Knowledge>
    <d2p1:Management>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:Management>
    <d2p1:Requirement>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:Requirement>
    <d2p1:TestLiberary>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:TestLiberary>
    <d2p1:TestRun>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:PrimarySpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:Category>7</d4p1:Category>
        <d4p1:ProjectId>3</d4p1:ProjectId>
        <d4p1:ProjectType>6</d4p1:ProjectType>
        <d4p1:SpaceId>4</d4p1:SpaceId>
        <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
        <d4p1:CanAccess>true</d4p1:CanAccess>
        <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
      </d2p1:PrimarySpace>
      <d2p1:ReferencedSpaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
        <d4p1:SpaceAccessibility>
          <d4p1:Category>7</d4p1:Category>
          <d4p1:ProjectId>3</d4p1:ProjectId>
          <d4p1:ProjectType>6</d4p1:ProjectType>
          <d4p1:SpaceId>4</d4p1:SpaceId>
          <d4p1:SpaceName>sample string 5</d4p1:SpaceName>
          <d4p1:CanAccess>true</d4p1:CanAccess>
          <d4p1:ProjectBaseName>sample string 2</d4p1:ProjectBaseName>
        </d4p1:SpaceAccessibility>
      </d2p1:ReferencedSpaces>
    </d2p1:TestRun>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_P1DataOfP1ModuleOfSpaceAccessibilitybs1L93vzyaF2QcGw>