Click or drag to resize

PublishingMonitorServicesGetPublishLogsForPubTarget Method


Retrieves the collection of Publishing Logs basic information for specific Publishing Target. Each log contains the information of a completed Publishing Task.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<PublishingLogSummaryReturn> GetPublishLogsForPubTarget(
	string pubTargetId,
	int start,
	int count
)

Parameters

pubTargetId
Type: SystemString
Id of Publishing Target to get logs for
start
Type: SystemInt32
The starting index
count
Type: SystemInt32
Number of items to return

Return Value

Type: XHRServiceResponseGenericPublishingLogSummaryReturn

Array of Publishing Logs for given Publishing Target

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "FileName": "publishLog_PublishingTargets_1-2014-01-28-11-37-41.xml",
        "PublishTime": "2014-01-28-11-37",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2014-01-28-11-37-05.xml",
        "PublishTime": "2014-01-28-11-37",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2014-01-28-11-37-00.xml",
        "PublishTime": "2014-01-28-11-37",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2014-01-28-11-36-57.xml",
        "PublishTime": "2014-01-28-11-36",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2014-01-28-11-35-47.xml",
        "PublishTime": "2014-01-28-11-35",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2014-01-27-10-18-29.xml",
        "PublishTime": "2014-01-27-10-18",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-16-56-35.xml",
        "PublishTime": "2013-12-11-16-56",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-16-56-29.xml",
        "PublishTime": "2013-12-11-16-56",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-14-34-18.xml",
        "PublishTime": "2013-12-11-14-34",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-12-18-55.xml",
        "PublishTime": "2013-12-11-12-18",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-11-54-52.xml",
        "PublishTime": "2013-12-11-11-54",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-11-54-25.xml",
        "PublishTime": "2013-12-11-11-54",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-11-53-23.xml",
        "PublishTime": "2013-12-11-11-53",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-11-20-32.xml",
        "PublishTime": "2013-12-11-11-20",
        "PublishingTargetID": "PublishingTargets\/1"
    }, {
        "FileName": "publishLog_PublishingTargets_1-2013-12-11-11-15-15.xml",
        "PublishTime": "2013-12-11-11-15",
        "PublishingTargetID": "PublishingTargets\/1"
    }]
}
Remarks
If Publishing Target doesn't exist, or it has never had a successful publish, returns empty collection
See Also