PageCreationRulesAdminServicesDelete Method Ingeniux CMS Web Services API

Deletes Page Creation Rules that matche given unique Ids

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<string[]> Delete(
	PcrDeleteRuleParam data
)

Parameters

data
Type: PcrDeleteRuleParam
Array of Page Creation Rule Id to delete

Return Value

Type: XHRServiceResponseGenericString

Collection of valid Page Creation Rule Ids that have been removed.

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": ["PageCreationRules\/34", "PageCreationRules\/33"]
}
Remarks

Any Ids that doesn't exist in Page Creation Rules collection will be ignored. Only valid Page Creation Rule Ids will be returned after they are deleted.

Examples

Sample JSON input
JavaScript
{
    "data": {
        "selectedIds": ["PageCreationRules/34", "PageCreationRules/33"]
    }
}
See Also

Reference