Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisReplPlanMonitorCleanExceptions

int ctMemphisReplPlanMonitorCleanExceptions( pRCESJson request, ppRCESJson result )

Description:

Cleanup the exceptions for the Replication Plan for a given period of time. The found exceptions for the given criteria can be deleted or archived.

HTTP URL: <baseURL>/ctMemphisReplPlanMonitorCleanExceptions/

HTTP Verb: POST

Constraints:

  • "id" must be an existing Replication Plan ID.

Parameters:

  • request [IN] - Replication Plan Monitor Get Exceptions request in JSON format. For example:

{

"id": 1, // required, must be a valid

Replication Plan identification

"beginTime": "2015-11-05T10:00:00", // optional, if passed and it is

more recent than the last

ctMemphisReplPlanMonitorStart(),

used, otherwise uses the last

monitoring start

"endTime": "2015-11-05T11:00:00", // optional, if it is not passed,

uses the current time

"delete": true, // optional, if it is not passed,

assumed false. In case of false

the exceptions will be archived

in the ReplExcepHist table,

otherwise they will be deleted.

}

  • result [OUT] - Result in JSON format. For example:

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

},

"total": 3 // total number of Replication Plan Exception entries for the query -

see Note 1 - Paging Parameters

}

Return:

Error code

TOCIndex