Click or drag to resize

SchemaDesignerServicesGetSchemaOutofSyncAssets Method


Retrieves the out of sync Pages created with given Schema. Out of sync Pages are Pages referring previous versions of the Schema

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<SchemaAssets> GetSchemaOutofSyncAssets(
	SchemaPagesGetInput data
)

Parameters

data
Type: SchemaPagesGetInput

Object containg the unique Id of the Schema

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

Return Value

Type: XHRServiceResponseGenericSchemaAssets

Collection of Assets that are using previous version of given Schema

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "ID": "a/9",
        "Name": "Terms|a/9",
        "AssignedGroup": "",
        "AssignedUser": "INGENIUX\\awang",
        "CheckedOut": false,
        "Icon": 2,
        "RootName": "Details",
        "SchemaVersion": 3,
        "Score": -1
    }, {
        "ID": "a/10",
        "Name": "Features|a/10",
        "AssignedGroup": "",
        "AssignedUser": "",
        "CheckedOut": false,
        "Icon": 2,
        "RootName": "Details",
        "SchemaVersion": 3,
        "Score": -1
    }, {
        "ID": "a/8",
        "Name": "Services|a/8",
        "AssignedGroup": "",
        "AssignedUser": "INGENIUX\\awang",
        "CheckedOut": false,
        "Icon": 2,
        "RootName": "Details",
        "SchemaVersion": 3,
        "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