POST api/Admin/GetProjectHierachyTreeInfo?projectId={projectId}&fresh={fresh}

GetProjectHierachyTreeInfo info based on project id

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "2024-12-21 15:17:51"
        },
        {
          "ID": 1,
          "Name": "sample string 2",
          "Value": 3,
          "OwnerID": 4,
          "StateID": 5,
          "OwnerName": "sample string 6",
          "StateName": "sample string 7",
          "LastOpenDate": "2024-12-21 15:17:51"
        }
      ],
      "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": "2024-12-21 15:17:51"
        },
        {
          "ID": 1,
          "Name": "sample string 2",
          "Value": 3,
          "OwnerID": 4,
          "StateID": 5,
          "OwnerName": "sample string 6",
          "StateName": "sample string 7",
          "LastOpenDate": "2024-12-21 15:17:51"
        }
      ],
      "ParentId": 8
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.