PageCreationRulesAdminServicesCreateNew Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PageCreationRuleEditorData> CreateNew( PcrSaveInput data )
Full details of the new Page Creation Rule to be created
{ "data": { "info": { "newEntry": true, "id": "PageCreationRules/1", "name": "Document", "schema": "Binary%20Document", "workflowId": "", "isDefault": false, "stylesheet": "~default~", "autoSelectParent": true, "users": [], "groups": ["UserGroup/1", "UserGroups/1"] }, "members": [{ "pageId": "x3", "isParent": false }] } }
New Page Creation Rule Data
{ "code": 0, "error": null, "message": { "info": { "name": "Document", "id": "PageCreationRules\/65", "englishName": null, "groupsCount": 2, "isDefault": false, "workflowEnglishName": null, "workflowName": "", "autoSelectParent": true, "isSchemaComponent": true, "parentsCount": 0, "schema": "Binary Document", "schemaEnglishName": "Binary Document", "stylesheet": "~default~", "usersCount": 0, "workflowId": "", "groups": [{ "name": "Administrators", "id": "UserGroup\/1" }, { "name": "Authors", "id": "UserGroups\/1" }], "users": [] }, "parents": [] } }