POST api/tree/GetNodes
Request Information
URI Parameters
None.
Body Parameters
ObjectNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NodeName | Description | Type | Additional information |
---|---|---|---|
NodeId | string |
None. |
|
ParentId | string |
None. |
|
TreeControlId | string |
None. |
|
ChildIndex | integer |
None. |
|
Depth | integer |
None. |
|
Level | integer |
None. |
|
Fields | Dictionary of string [key] and Object [value] |
None. |
|
Index | integer |
None. |
|
IsExpanded | boolean |
None. |
|
IsSelected | boolean |
None. |
|
OldParentId | string |
None. |
|
Type | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "NodeId": "sample string 1", "ParentId": "sample string 2", "TreeControlId": "sample string 3", "ChildIndex": 4, "Depth": 5, "Level": 6, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 7, "IsExpanded": true, "IsSelected": true, "OldParentId": "sample string 10", "Type": "Enettet.Extranet.OperationsFeed.Models.Tree.Node" }, { "NodeId": "sample string 1", "ParentId": "sample string 2", "TreeControlId": "sample string 3", "ChildIndex": 4, "Depth": 5, "Level": 6, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 7, "IsExpanded": true, "IsSelected": true, "OldParentId": "sample string 10", "Type": "Enettet.Extranet.OperationsFeed.Models.Tree.Node" } ]
application/xml, text/xml
Sample:
<ArrayOfNode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Enettet.Extranet.OperationsFeed.Models.Tree"> <Node> <ChildIndex>4</ChildIndex> <Depth>5</Depth> <Fields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Fields> <Index>7</Index> <IsExpanded>true</IsExpanded> <IsSelected>true</IsSelected> <Level>6</Level> <NodeId>sample string 1</NodeId> <OldParentId>sample string 10</OldParentId> <ParentId>sample string 2</ParentId> <TreeControlId>sample string 3</TreeControlId> <__type>Enettet.Extranet.OperationsFeed.Models.Tree.Node</__type> </Node> <Node> <ChildIndex>4</ChildIndex> <Depth>5</Depth> <Fields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Fields> <Index>7</Index> <IsExpanded>true</IsExpanded> <IsSelected>true</IsSelected> <Level>6</Level> <NodeId>sample string 1</NodeId> <OldParentId>sample string 10</OldParentId> <ParentId>sample string 2</ParentId> <TreeControlId>sample string 3</TreeControlId> <__type>Enettet.Extranet.OperationsFeed.Models.Tree.Node</__type> </Node> </ArrayOfNode>