Click or drag to resize

PublishingMonitorServicesGetReplicationLogDetails Method


Retrieves the full details of a Replication Log

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<ReplicationCompleteLogModel> GetReplicationLogDetails(
	string fileName
)

Parameters

fileName
Type: SystemString
File name of Replication Log, no directory information

Return Value

Type: XHRServiceResponseGenericReplicationCompleteLogModel

Full details of Replication Log

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "AveragePagePublishMillis": 27.67,
        "CompletionTime": "20140128T13:08:51",
        "Entries": [{
            "Error": "",
            "PageID": "x99",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x6",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x10",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x3",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x4",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x7",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x89",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x14",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x9",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x11",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x12",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x2",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x13",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x8",
            "Success": true,
            "SuccessMessage": "Successful"
        }, {
            "Error": "",
            "PageID": "x5",
            "Success": true,
            "SuccessMessage": "Successful"
        }],
        "Error": "",
        "Incremental": "false",
        "PublishedPages": ["x99", "x6", "x10", "x3", "x4", "x7", "x89", "x14", "x9", "x11", "x12", "x2", "x13", "x8", "x5"],
        "PublishingTargetID": "PublishingTargets\/1",
        "PublishingTargetName": "Live",
        "ReplicationCompletionTime": "20140128T13:08:59",
        "ReplicationsToPerform": 1,
        "StartTime": "2014-01-28 13:08:49",
        "TotalPagesPublished": 15,
        "TotalTimeSeconds": 2.08,
        "UserID": "INGENIUX\\awang",
        "UserName": "Turtle Master"
    }
}
Remarks

If for any reason replication could not complete, then "Stopping Error" will be provided.

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "CancelledByUser": false,
        "PublishingTargetID": "PublishingTargets\/1",
        "Replicated": 0,
        "ReplicatedItems": [],
        "ReplicationTargetID": "bc24ec5353c9417590dbcc27ee56f005",
        "Skipped": 0,
        "SkippedItems": [],
        "StartTime": "2014-01-28 21:07:36",
        "StoppingError": "Access to the path 'G:\\SyncTests\\file\\errors' is denied.",
        "TotalTimeSeconds": 0
    }
}
See Also