SiteDefinitionsLocalizationServicesGetPCR Method Ingeniux CMS Web Services API

Retrieves a single Page Creation Rule's localization

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

public XHRServiceResponseGeneric<SiteDefinitionItemLocalizationData> GetPCR(
	SingleSiteDefitionLocalizationGetInput data
)

Parameters

data
Type: SingleSiteDefitionLocalizationGetInput

Object containing Page Creation Rule's Id and original name

Examples

Sample JSON input
JavaScript
{
    "data": {
        "id": "PageCreationRules/1",
        "label": "Page Creation Rule Name:"
    }
}

Return Value

Type: XHRServiceResponseGenericSiteDefinitionItemLocalizationData

Localization of the Page Creation Rule, which only contains translated name

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "children": null,
        "descriptionField": null,
        "nameField": {
            "label": "Page Creation Rule Name:",
            "original": "Image",
            "target": "Image"
        }
    }
}
Remarks

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

See Also

Reference