Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisAddFilesToGroup

int ctMemphisAddFilesToGroup( pRCESJson request, ppRCESJson result )

Description:

Add existing file(s) into a File Group. If group is in use in any replication plan, update its replication file lists. If there is any replication plan referencing the given file group, and it is active, error it out.

HTTP URL: <baseURL>/ctMemphisAddFilesToGroup/

HTTP Verb: POST

Parameters:

  • request [IN] - Add Group File request in JSON format. For example:

{

"id": 0,

"fileList": [

{"file": 0},

{"file": 3},

{"file": 63},

{"file": 834}

]

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex