FileBrowserServicesGetChildren Method

Ingeniux CMS Web Services API

Gets the child folders of a given asset folder

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<FileBrowserTreeNodeInfo[]> GetChildren(
	FileBrowserGetChildrenInput data
)

Parameters

data
Type: FileBrowserGetChildrenInput

The request parameter

Examples

Sample JSON request parameter
JavaScript
{
    "data": {
        "action": "GetChildren",
        "type": "Image",
        "node": {
            "widgetId": "igxdialogs_DialogWrapper_15_Dialog_Image_root",
            "objectId": "",
            "index": 1,
            "isFolder": true,
            "fileType": "Image",
            "relativePath": "Images",
            "rootPath": "Images"
        },
        "tree": {
            "widgetId": "dojo_Tree_0",
            "objectId": ""
        }
    }
}

Return Value

Type: XHRServiceResponseGenericFileBrowserTreeNodeInfo

Array of FileBrowserTreeNodeInfo

JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "objectId": null,
        "widgetId": "Documents~~test",
        "fileType": "File",
        "index": 0,
        "isFolder": false,
        "relativePath": "Documents\/test",
        "rootPath": "Documents",
        "assetPermission": 2,
        "checkedOut": true,
        "childIconSrc": "\/images\/icons\/filebrowser\/folderClose.gif",
        "markedForPub": false,
        "title": "&#160;test"
    }]
}
See Also

Reference