PublishingSystemManagerServicesSavePubProfile Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PublishingProfileEditorData> SavePubProfile( PublishingProfileSaveInput data )
The updated information of the Publishing Profile
{ "data": { "info": { "name": "Staging", "id": "PublishingProfiles/1", "targetsCount": 2, "excludeTargets": [["PublishingTargets/33", "PublishingTargets/34"], ["PublishingTargets/1"]], "pubTargets": ["PublishingTargets/33", "PublishingTargets/34"], "newEntry": false }, "members": ["UserGroup/1"] } }
Updated information of the Publishing Profile after save.
{ "code": 0, "error": null, "message": { "info": { "name": "Staging", "id": "PublishingProfiles\/1", "targetsCount": 2, "excludeTargets": [["PublishingTargets\/33", "PublishingTargets\/34"], ["PublishingTargets\/1"]], "pubTargets": [{ "name": "Staging", "id": "PublishingTargets\/33" }, { "name": "Staging 2", "id": "PublishingTargets\/34" }] } } }
If Publishing Profile doesn't exist, returns error status.