Click or drag to resize

SchemaDesignerServicesGetContentUnits Method


Retrieves a list of Content Units, based on the filtering data

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<ContentUnitsGridResponse> GetContentUnits(
	ContentUnitsFilter data
)

Parameters

data
Type: ContentUnitsFilter
The filter data that will control what content units to return

Return Value

Type: XHRServiceResponseGenericContentUnitsGridResponse
Array of summarizes Content Units information
Examples
Sample JSON input
JavaScript
{
    "data": {
        "NameFilter": "form",
        "IncludeFieldUnits": true,
        "IncludeComponetUnits": true,
        "start": 0,
        "count": 100
    }
}
Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [
        {
            "ID": "ContentUnits/23",
            "Name": "Visual Form Build - Form Field Label",
            "IsComp": false
        },
        {
            "ID": "ComponentContentUnits/68",
            "Name": "Visual Form Build - Form",
            "IsComp": true
        }
    ]
}
See Also