PublishingSystemManagerServicesGetPubProfile Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PublishingProfileEditorData> GetPubProfile( PublishingSystemItemGetParam data )
Object containing Publishing Profile's unique Id
{ "data": { "itemId": "PublishingProfiles/1" } }
Object containing detailed information of the Publishing Profile, and colleciton of User Groups basic information
{ "code": 0, "error": null, "message": { "accessibleGroups": [{ "name": "Administrators", "groupId": "UserGroup\/1", "usersCount": 2 }, { "name": "Authors", "groupId": "UserGroups\/1", "usersCount": 1 }], "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