Click or drag to resize

PageCreationRulesAdminServicesGetRuleParents Method


Retrieves the existing Parent Page entries detailed information for given Page Creation Rule

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<PageCreationRuleParentsInfo> GetRuleParents(
	PcrGetParentsParam data
)

Parameters

data  PcrGetParentsParam

Information on the Page Creation Rules and Ids of the parent pages

Example
Sample JSON input
JavaScript
{
    "data": {
        "ruleId": "PageCreationRules/65",
        "pageIds": "x87"
    }
}

Return Value

XHRServiceResponseGenericPageCreationRuleParentsInfo

Details of all existing parent pages

Example
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "parents": [{
            "name": "Test",
            "id": "x87",
            "accessible": true,
            "icon": 99,
            "parentOnly": false,
            "path": "Site\/Internal Components\/Test"
        }]
    }
}
Remarks

If Page Creation Rule with given Id doesn't exist, returns error status

If provided parent ids contains non existing Pages, those ids will be ignored. Only information on the valid Pages will be returned.

See Also