MarkForPublishServicesGetPublishingSystemObjects Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<ProfileListResult> GetPublishingSystemObjects( GetProfilesListingInput data )
The information of whether to return Publishing Profiles or Publishing Targets, and which page we are pulling information for.
{
"url": "",
"handleAs": "json-comment-optional",
"content": {
"start": 0,
"count": 100,
"sort": "label"
},
"method": "getPublishingProfiles",
"pageId": "x11"
}{
"url": "",
"handleAs": "json-comment-optional",
"content": {
"start": 0,
"count": 100,
"sort": "name"
},
"method": "getPublishingTargets",
"pageId": "x11"
}The list of Publishing Target that the given page is marked on;
Or the list of all Publishing Profile, each contains the Publishing Targets that belong to it, and marked on given page
{
"code": 0,
"error": null,
"message": {
"identifier": "id",
"items": [{
"name": "Live",
"id": "PublishingProfiles\/2",
"label": "Live (1)",
"targets": [{
"name": "Live",
"id": "PublishingTargets\/1"
}],
"targetsCount": 1
}, {
"name": "Staging",
"id": "PublishingProfiles\/1",
"label": "Staging (2)",
"targets": [{
"name": "Staging",
"id": "PublishingTargets\/33"
}],
"targetsCount": 2
}, {
"name": "",
"id": "custom",
"label": "-- Custom picks of Publishing Targets --",
"targets": [],
"targetsCount": 0
}],
"label": "name",
"numRows": 3
}
}{
"code": 0,
"error": null,
"message": {
"identifier": "id",
"items": [{
"name": "Live",
"id": "PublishingTargets\/1"
}, {
"name": "Staging",
"id": "PublishingTargets\/33"
}],
"label": "name",
"numRows": 2
}
}