PublishingSystemManagerServicesCreatePubProfile Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PublishingProfileEditorData> CreatePubProfile( PublishingProfileSaveInput data )
Object containing information of new Publishing Profile
{ "data": { "info": { "newEntry": true, "name": "Live", "pubTargets": ["PublishingTargets/1", "PublishingTargets/35"] }, "members": ["UserGroup/1", "UserGroups/1"] } }
Object containing detailed information of newsly created Publishing Profile
{ "code": 0, "error": null, "message": { "info": { "name": "Live", "id": "PublishingProfiles\/33", "targetsCount": 2, "excludeTargets": [["PublishingTargets\/33", "PublishingTargets\/34"]], "pubTargets": [{ "name": "Live", "id": "PublishingTargets\/1" }, { "name": "Live2", "id": "PublishingTargets\/35" }] } } }