TaxonomyTreeServicesGetChildren Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<CategoryInfo[]> GetChildren( CategoryTreeNodeInfo node, string pageId, string pageSchemaName, string selectedLocale, int pIndex, bool allChildren )
Information on the Category Node to retrieve children for
{ "widgetId": "tta__CategoryNodes/3", "objectId": "tta__CategoryNodes/3", "index": 0, "idPrefix": "tta", "baseId": "CategoryNodes/3" }
The following of "widgetId" and "objectId" of the category must be "tta__[category node id]". If we are retrieving root nodes, the "widgetId" must be "tta_0", "objectId" is optional.
Array of full details for all child Category nodes of given Category node.
{ "code": 0, "error": null, "message": [{ "objectId": "tta__CategoryNodes\/3", "widgetId": "tta__CategoryNodes\/3", "isFolder": true, "props": { "associatedPages": null, "creationLocale": "en-us", "depth": 1, "description": "", "everyoneName": "Everyone", "externalId": "", "id": "CategoryNodes\/3", "idPrefix": "tta", "originalDescription": "", "originalTitle": "Animalia", "originalTypeName": "Kingdom", "path": "Animalia", "permissions": [{ "name": "Everyone", "id": "0", "accessLevel": 2 }], "permissionsInherited": true, "synonyms": [], "translated": true, "typeName": "Kingdom", "visibility": 1 }, "title": "Animalia" }, { "objectId": "tta__CategoryNodes\/2", "widgetId": "tta__CategoryNodes\/2", "isFolder": false, "props": { "associatedPages": null, "creationLocale": "en-us", "depth": 1, "description": "", "everyoneName": "Everyone", "externalId": "", "id": "CategoryNodes\/2", "idPrefix": "tta", "originalDescription": "", "originalTitle": "Fungi", "originalTypeName": "Kingdom", "path": "Fungi", "permissions": [{ "name": "Everyone", "id": "0", "accessLevel": 2 }], "permissionsInherited": true, "synonyms": [], "translated": true, "typeName": "Kingdom", "visibility": 1 }, "title": "Fungi" }, { "objectId": "tta__CategoryNodes\/1", "widgetId": "tta__CategoryNodes\/1", "isFolder": false, "props": { "associatedPages": null, "creationLocale": "en-us", "depth": 1, "description": "", "everyoneName": "Everyone", "externalId": "", "id": "CategoryNodes\/1", "idPrefix": "tta", "originalDescription": "", "originalTitle": "Plantae", "originalTypeName": "Kingdom", "path": "Plantae", "permissions": [{ "name": "Everyone", "id": "0", "accessLevel": 2 }], "permissionsInherited": true, "synonyms": [], "translated": true, "typeName": "Kingdom", "visibility": 1 }, "title": "Plantae" }] }
Taxonomy Tree doesn't have the concept of order. The result is always sorted alphabetically.