SchemaDesignerServicesGetSchemaChangeEffortsForComponentUnit Method

Ingeniux CMS Web Services API

Calculates the change efforts for given Component content units to have their Component embed content updated based the latest version of their Schema. Change efforts are used to measure the differences between Component embed content and its latest version Schema content.

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

public XHRServiceResponseGeneric<SchemaChangeEffortAnalysisResponse> GetSchemaChangeEffortsForComponentUnit(
	SchemaChangeEffortAnalysisRequest data
)

Parameters

data
Type: SchemaChangeEffortAnalysisRequest

Information of the Schema and the collection of content units to analyze change efforts on

Examples

Sample JSON input
JavaScript
{
    "data": {
        "SchemaId": "schemas/VisualFormBuilderForm",
        "Pages": [{
            "ID": "ComponentContentUnits/225"
        }, {
            "ID": "ComponentContentUnits/VisualFormBuilderForm"
        }]
    }
}

Return Value

Type: XHRServiceResponseGenericSchemaChangeEffortAnalysisResponse

Information of change effort scores calculated for all Component content units' Component embed content provided

Examples

Sample JSON return
JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": {
        "HasPresentation": false,
        "IsPageSchema": false,
        "ChangeEfforts": [{
            "PageID": "ComponentContentUnits\/225",
            "Score": 0
        }, {
            "PageID": "ComponentContentUnits\/VisualFormBuilderForm",
            "Score": 1
        }],
        "SchemaId": "schemas\/VisualFormBuilderForm",
        "SchemaRootName": null
    }
}
See Also

Reference