POST api/SubProject/GetMultilevelTree
According to an user setting, Get the SubProject tree.
Request Information
URI Parameters
None.
Body Parameters
MultilevelSubProjectTreeBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| SettingIdOfExpandedNodes |
You can save a list of expanded folder to user setting, and you can use this setting id to get the list of expanded folder. |
integer |
None. |
| IncludeClosed | boolean |
None. |
|
| Filter | SubProjectTreeFilter |
None. |
|
| ProjectId | integer |
None. |
|
| SubProjectId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SettingIdOfExpandedNodes": 1,
"IncludeClosed": true,
"Filter": {
"Keyword": "sample string 1"
},
"ProjectId": 3,
"SubProjectId": 4
}
application/xml, text/xml
Sample:
<MultilevelSubProjectTreeBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
<ProjectId>3</ProjectId>
<SubProjectId>4</SubProjectId>
<Filter>
<Keyword>sample string 1</Keyword>
</Filter>
<IncludeClosed>true</IncludeClosed>
<SettingIdOfExpandedNodes>1</SettingIdOfExpandedNodes>
</MultilevelSubProjectTreeBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
According to an user setting, Get the SubProject tree.
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.