GET api/SpaceLinks/Get?projectId={projectId}&spaceId={spaceId}
Get linked spaces of a devtrack space
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
spaceId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get linked spaces of a devtrack space
API_Data_P1DataOfIEnumerableOfSpaceModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | P1DataOfIEnumerableOfSpaceModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "Management": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "Development": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "Requirement": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "Knowledge": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "TestRun": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "TestLiberary": [ { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 }, { "projectId": 1, "spaceId": 2, "spaceName": "sample string 3", "projectType": 4, "category": 5 } ], "Defect": [ { "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_P1DataOfArrayOfSpaceModelbs1L93vz 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 xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:Defect> <d2p1:Development xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:Development> <d2p1:Knowledge xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:Knowledge> <d2p1:Management xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:Management> <d2p1:Requirement xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:Requirement> <d2p1:TestLiberary xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:TestLiberary> <d2p1:TestRun xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> <d3p1:SpaceModel> <d3p1:Category>5</d3p1:Category> <d3p1:ProjectId>1</d3p1:ProjectId> <d3p1:ProjectType>4</d3p1:ProjectType> <d3p1:SpaceId>2</d3p1:SpaceId> <d3p1:SpaceName>sample string 3</d3p1:SpaceName> </d3p1:SpaceModel> </d2p1:TestRun> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_P1DataOfArrayOfSpaceModelbs1L93vz>