Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisAddDBEnginesToGroup

int ctMemphisAddDBEnginesToGroup( pRCESJson request, ppRCESJson result )

Description:

Add existing dbEngines(s) into a DBEngine Group.

HTTP URL: <baseURL>/ctMemphisAddDBEnginesToGroup/

HTTP Verb: POST

Constraints:

  • "id" must be an existing DBEngineGroup ID.
  • All "dbEngineList/dbEngine" must be existing DBEngine IDs.

Parameters:

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

{

"id": 0,

"dbEngineList": [

{"dbEngine": 0},

{"dbEngine": 3},

{"dbEngine": 63},

{"dbEngine": 834}

]

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex