Click or drag to resize

PublishingMonitorServicesGetRepLogsForRepTarget Method


Retrieves the Replication Logs for specific Replication Target under a Publishing Target

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<ReplicationLogSummaryReturn> GetRepLogsForRepTarget(
	string pubTargetId,
	string repTargetId,
	int start,
	int count
)

Parameters

pubTargetId  String
Id of Publishing Target
repTargetId  String
Id of Replication Target, must be under the given Publishing Target
start  Int32
Starting index
count  Int32
Number of items to return

Return Value

XHRServiceResponseGenericReplicationLogSummaryReturn

Collection of Replication Log entries, contains basic information of each log

Example
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "FileName": "replicationLog_PublishingTargets_1_bc24ec5353c9417590dbcc27ee56f005_2014-01-28-21-08-52.xml",
        "ReplicationTargetID": "20",
        "StartTime": "2014-01-28-21-08"
    }, {
        "FileName": "replicationLog_PublishingTargets_1_bc24ec5353c9417590dbcc27ee56f005_2014-01-28-21-07-36.xml",
        "ReplicationTargetID": "20",
        "StartTime": "2014-01-28-21-07"
    }]
}
Remarks

Event if Publishing Target or Replication Target no longer exist, there are might still be logs kept around.

If Replication Target is not under Publishing Target, we will have empty collection returned.

See Also