POST api/Admin/GetProjectHierachyTreeInfo?projectId={projectId}&fresh={fresh}
GetProjectHierachyTreeInfo info based on project id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
projectId |
integer |
Required |
| fresh |
fresh |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
GetProjectHierachyTreeInfo info based on project id
API_Data_ListOfProjectHierachyTreeInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of ProjectHierachyTreeInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"ID": 1,
"Name": "sample string 2",
"OwnerID": 3,
"StateID": 4,
"OwnerName": "sample string 5",
"StateName": "sample string 6",
"Value": 7,
"Children": [],
"listSubProjectInfo": [
{
"ID": 1,
"Name": "sample string 2",
"Value": 3,
"OwnerID": 4,
"StateID": 5,
"OwnerName": "sample string 6",
"StateName": "sample string 7",
"LastOpenDate": "2025-10-31 18:10:12"
},
{
"ID": 1,
"Name": "sample string 2",
"Value": 3,
"OwnerID": 4,
"StateID": 5,
"OwnerName": "sample string 6",
"StateName": "sample string 7",
"LastOpenDate": "2025-10-31 18:10:12"
}
],
"ParentId": 8
},
{
"ID": 1,
"Name": "sample string 2",
"OwnerID": 3,
"StateID": 4,
"OwnerName": "sample string 5",
"StateName": "sample string 6",
"Value": 7,
"Children": [],
"listSubProjectInfo": [
{
"ID": 1,
"Name": "sample string 2",
"Value": 3,
"OwnerID": 4,
"StateID": 5,
"OwnerName": "sample string 6",
"StateName": "sample string 7",
"LastOpenDate": "2025-10-31 18:10:12"
},
{
"ID": 1,
"Name": "sample string 2",
"Value": 3,
"OwnerID": 4,
"StateID": 5,
"OwnerName": "sample string 6",
"StateName": "sample string 7",
"LastOpenDate": "2025-10-31 18:10:12"
}
],
"ParentId": 8
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.