SchemaDesignerServicesGetContentUnits Method
|
Retrieves a list of Content Units, based on the filtering data
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public XHRServiceResponseGeneric<ContentUnitsGridResponse> GetContentUnits(
ContentUnitsFilter data
)
Public Function GetContentUnits (
data As ContentUnitsFilter
) As XHRServiceResponseGeneric(Of ContentUnitsGridResponse)
public:
virtual XHRServiceResponseGeneric<ContentUnitsGridResponse^>^ GetContentUnits(
ContentUnitsFilter^ data
) sealed
abstract GetContentUnits :
data : ContentUnitsFilter -> XHRServiceResponseGeneric<ContentUnitsGridResponse>
override GetContentUnits :
data : ContentUnitsFilter -> XHRServiceResponseGeneric<ContentUnitsGridResponse>
Parameters
- data
- Type: ContentUnitsFilter
The filter data that will control what content units to return
Return Value
Type:
XHRServiceResponseGenericContentUnitsGridResponseArray of summarizes Content Units information
Examples
Sample JSON input
{
"data": {
"NameFilter": "form",
"IncludeFieldUnits": true,
"IncludeComponetUnits": true,
"start": 0,
"count": 100
}
}
Examples
Sample JSON return
{
"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