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,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    },
    "Development": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    },
    "Requirement": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    },
    "Knowledge": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    },
    "TestRun": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    },
    "TestLiberary": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    },
    "Defect": {
      "Enabled": true,
      "PrimarySpace": {
        "CanAccess": true,
        "projectId": 2,
        "spaceId": 3,
        "spaceName": "sample string 4",
        "projectType": 5,
        "category": 6
      },
      "ReferencedSpaces": [
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        },
        {
          "CanAccess": true,
          "projectId": 2,
          "spaceId": 3,
          "spaceName": "sample string 4",
          "projectType": 5,
          "category": 6
        }
      ]
    }
  }
}

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