PageCreationRulesAdminServicesGetRule Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PageCreationRuleEditorData> GetRule( GetSingleItemParam data )
Object containing the unique Id of Page Creation Rule to retrieve
{
"data": {
"itemId": "PageCreationRules/1"
}
}Full details of the Page Creation Rule
{
"code": 0,
"error": null,
"message": {
"info": {
"name": "Image",
"id": "PageCreationRules\/1",
"englishName": null,
"groupsCount": 2,
"isDefault": false,
"workflowEnglishName": null,
"workflowName": "",
"autoSelectParent": true,
"isSchemaComponent": true,
"parentsCount": 1,
"schema": "Image File",
"schemaEnglishName": "Image File",
"stylesheet": "~default~",
"usersCount": 0,
"workflowId": "",
"groups": [{
"name": "Administrators",
"id": "UserGroup\/1"
}, {
"name": "Authors",
"id": "UserGroups\/1"
}],
"users": []
},
"parents": [{
"name": "Listing",
"id": "x112",
"accessible": true,
"icon": 99,
"parentOnly": false,
"path": "Site\/Listing"
}]
}
}If Page Creation Rule with given Id doesn't exit, returns error status