POST api/SubProject/LinkedSpaces
Get the linked ALM Spaces based on a Space ID
Request Information
URI Parameters
None.
Body Parameters
SubProjectBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
SubProjectId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectId": 1, "SubProjectId": 2 }
application/xml, text/xml
Sample:
<SubProjectBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <ProjectId>1</ProjectId> <SubProjectId>2</SubProjectId> </SubProjectBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get the linked ALM Spaces based on a Space ID
API_Data_GroupedSpacesModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | GroupedSpacesModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "PPMSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "requirementSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "knowledgeSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "devlopmentSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "testTemplateSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "testTaskSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "defectSpaces": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ] } }
application/xml, text/xml
Sample:
<API_Data_GroupedSpacesModel 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:DefectSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:DefectSpaces> <d2p1:DevlopmentSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:DevlopmentSpaces> <d2p1:KnowledgeSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:KnowledgeSpaces> <d2p1:PPMSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:PPMSpaces> <d2p1:RequirementSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:RequirementSpaces> <d2p1:TestTaskSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:TestTaskSpaces> <d2p1:TestTemplateSpaces> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> <d2p1:SpaceModel> <d2p1:Category>5</d2p1:Category> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>4</d2p1:ProjectType> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:SpaceName>sample string 3</d2p1:SpaceName> </d2p1:SpaceModel> </d2p1:TestTemplateSpaces> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_GroupedSpacesModel>