PageCreationRulesAdminServicesSave Method |
Namespace: IngeniuxCMService
The updated information on the Page Creation Rule
{
"data": {
"info": {
"name": "Image",
"id": "PageCreationRules/1",
"englishName": null,
"groupsCount": 2,
"isDefault": false,
"workflowEnglishName": null,
"workflowName": "",
"autoSelectParent": true,
"isSchemaComponent": true,
"parentsCount": 1,
"schema": "Image%20File",
"schemaEnglishName": "Image File",
"stylesheet": "~default~",
"usersCount": 0,
"workflowId": "",
"groups": ["UserGroup/1", "UserGroups/1"],
"users": ["INGENIUX\\awang"],
"newEntry": false
},
"members": [{
"pageId": "x112",
"isParent": false
}, {
"pageId": "x3",
"isParent": false
}]
}
}Updated Page Creation Rule Data
{
"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": 2,
"schema": "Image File",
"schemaEnglishName": "Image File",
"stylesheet": "~default~",
"usersCount": 1,
"workflowId": "",
"groups": [{
"name": "Administrators",
"id": "UserGroup\/1"
}, {
"name": "Authors",
"id": "UserGroups\/1"
}],
"users": [{
"name": "INGENIUX\\awang (Turtle Master)",
"id": "User\/INGENIUX___awang"
}]
},
"parents": [{
"name": "Listing",
"id": "x112",
"accessible": true,
"icon": 99,
"parentOnly": false,
"path": "Site\/Listing"
}, {
"name": "Internal Components",
"id": "x3",
"accessible": true,
"icon": 1,
"parentOnly": false,
"path": "Site\/Internal Components"
}]
}
}If Page Creation Rule with given id doesn't exist, returns error status
If Schema with given friendly name doesn't exis, returns error status