SchemaDesignerServicesGetSchemaOutofSyncComponentContentUnits Method

Ingeniux CMS Web Services API

Retrieves the Component Content Units that contains out of sync component embed content, that were based on given Schema. Out of sync embed component are component embed content referring previous versions of the Schema

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

public XHRServiceResponseGeneric<SchemaComponentUnits> GetSchemaOutofSyncComponentContentUnits(
	SchemaPagesGetInput data
)

Parameters

data
Type: SchemaPagesGetInput

Object containg the unique Id of the Schema

Examples

Sample JSON input
JavaScript
{
    "data": {
        "UniqueID": "schemas/VisualFormBuilderForm"
    }
}

Return Value

Type: XHRServiceResponseGenericSchemaComponentUnits

Collection of Component Content Unit with component embed content that are using previous version of given Schema

Examples

Sample JSON return
JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": {
        "Units": [{
            "ID": "ComponentContentUnits\/225",
            "Name": "Form Unit 2|ComponentContentUnits\/225",
            "SchemaVersion": 8,
            "Score": -1
        }, {
            "ID": "ComponentContentUnits\/VisualFormBuilderForm",
            "Name": "Visual Form Builder - Form|ComponentContentUnits\/VisualFormBuilderForm",
            "SchemaVersion": 8,
            "Score": -1
        }]
    }
}
Remarks

If Schema doesn't exist, returns error status

Only Schemas not in draft mode are allowed to retrieve out of sync pages. If Schema is in draft mode, returns error status

See Also

Reference