GET api/teams/Enum/GetList?id={id}&parentId={parentId}&itemFilter={itemFilter}&Flatten={Flatten} GetList retrieves the children of an enumeration class id that is a child. Used for lazy loading of the enum picker. Returns items that are only one level down from the root id that is sent.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The Guid of the child enumeration. |
globally unique identifier |
Required |
parentId |
The Guid of the parent enumeration. |
globally unique identifier |
Required |
itemFilter |
Optional Filter Text |
string |
Default value is |
Flatten |
Whether to Flatten the display names |
string |
Default value is false |
Body Parameters
None.Response Information
Resource Description
Collection of EnumNodeTreeModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Text | string |
None. |
|
Name | string |
None. |
|
HasChildren | boolean |
None. |
|
Ordinal | decimal number |
None. |
|
EnumNodes | Collection of EnumNode |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "f1e3ce2f-162a-4894-a121-79c9f5fc07da", "Text": "sample string 2", "Name": "sample string 2", "HasChildren": true, "Ordinal": 1.1, "EnumNodes": [ { "$id": "1", "Id": "86219653-fe3c-4b9d-981a-a6dde6edb20d", "Text": "sample string 2", "Name": "sample string 2" }, { "$ref": "1" } ] }, { "Id": "f1e3ce2f-162a-4894-a121-79c9f5fc07da", "Text": "sample string 2", "Name": "sample string 2", "HasChildren": true, "Ordinal": 1.1, "EnumNodes": [ { "$ref": "1" }, { "$ref": "1" } ] } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.