POST api/SubProject/GetTree
Get the SubProject and its child SubProjects based on SubProject ID
Request Information
URI Parameters
None.
Body Parameters
SubProjectTreeBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| IncludeClosed | boolean |
None. |
|
| Filter | SubProjectTreeFilter |
None. |
|
| ProjectId | integer |
None. |
|
| SubProjectId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IncludeClosed": true,
"Filter": {
"Keyword": "sample string 1"
},
"ProjectId": 2,
"SubProjectId": 3
}
application/xml, text/xml
Sample:
<SubProjectTreeBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
<ProjectId>2</ProjectId>
<SubProjectId>3</SubProjectId>
<Filter>
<Keyword>sample string 1</Keyword>
</Filter>
<IncludeClosed>true</IncludeClosed>
</SubProjectTreeBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get the SubProject and its child SubProjects based on SubProject ID
API_Data_SubProjectNodeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | SubProjectNodeModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": {
"projectId": 1,
"subprojectId": 2,
"subprojectName": "sample string 3",
"subprojectType": 4,
"isClosed": true,
"sprintState": 1,
"hasChild": true,
"nodes": []
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.