Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisRemoveFile

int ctMemphisRemoveFile( pRCESJson request, ppRCESJson result )

Description:

Remove a Database from the Replication Manager Database.

Note: All the subscriptions impacted by the File removal will be marked as "dirty." This means all of them should be re-deployed to have the changes taking effect. This can be done by removing single files from a Publication or removing files from the FileGroup associated to a Publication.

HTTP URL: <baseURL>/ctMemphisRemoveFile/

HTTP Verb: POST

Parameters:

  • request [IN] - Remove Database request in JSON format. For example:

{

"recursive": 1, // optional, if TRUE, all the related

"PublicationFile" records will be also removed

"file": { // required

"id": 512

}

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex