MarkForPublishServicesCheckContentItemsMarkedForTarget Method |
Retrieves the Mark-for-publish information on given page(s).
Similar to the operation "GetPageMarks". However, this operation is geared towards returning mark for publishing information on a perticular Publishing Target. Also, it's return information is a lot simpler.
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PageMarkForPublishSimpleInfo[]> CheckContentItemsMarkedForTarget( GetContentItemMarksInput data, string pubTarget )
The information on which pages to check whether or not they are marked for given Publishing Target
{ "pubTargetName": "Live", "pageIds": ["x1", "x2", "RecycleBin", "x112", "x111", "x110", "x100", "x99", "x89", "x5", "x3", "x11", "x12", "x15", "x9"] }
Collection of page marking information
{ "code": 0, "error": null, "message": [{ "markedForPublish": false, "pageId": "x1" }, { "markedForPublish": false, "pageId": "RecycleBin" }, { "markedForPublish": true, "pageId": "x2" }, { "markedForPublish": false, "pageId": "x112" }, { "markedForPublish": false, "pageId": "x111" }, { "markedForPublish": false, "pageId": "x110" }, { "markedForPublish": false, "pageId": "x100" }, { "markedForPublish": false, "pageId": "x99" }, { "markedForPublish": true, "pageId": "x89" }, { "markedForPublish": true, "pageId": "x5" }, { "markedForPublish": true, "pageId": "x3" }, { "markedForPublish": true, "pageId": "x11" }, { "markedForPublish": true, "pageId": "x12" }, { "markedForPublish": false, "pageId": "x15" }, { "markedForPublish": true, "pageId": "x9" }] }