SiteDefinitionsLocalizationServicesGetPCR Method
|
Retrieves a single Page Creation Rule's localization
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<SiteDefinitionItemLocalizationData> GetPCR(
SingleSiteDefitionLocalizationGetInput data
)
Public Function GetPCR (
data As SingleSiteDefitionLocalizationGetInput
) As XHRServiceResponseGeneric(Of SiteDefinitionItemLocalizationData)
public:
virtual XHRServiceResponseGeneric<SiteDefinitionItemLocalizationData^>^ GetPCR(
SingleSiteDefitionLocalizationGetInput^ data
) sealed
abstract GetPCR :
data : SingleSiteDefitionLocalizationGetInput -> XHRServiceResponseGeneric<SiteDefinitionItemLocalizationData>
override GetPCR :
data : SingleSiteDefitionLocalizationGetInput -> XHRServiceResponseGeneric<SiteDefinitionItemLocalizationData>
Parameters
- data
- Type: SingleSiteDefitionLocalizationGetInput
Object containing Page Creation Rule's Id and original name
Examples
Sample JSON input
{
"data": {
"id": "PageCreationRules/1",
"label": "Page Creation Rule Name:"
}
}
Return Value
Type:
XHRServiceResponseGenericSiteDefinitionItemLocalizationDataLocalization of the Page Creation Rule, which only contains translated name
Examples
Sample JSON return
{
"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