Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisGetDBEngineGroups

int ctMemphisGetDBEngineGroups( pRCESJson request, ppRCESJson result )

Description:

Retrieve all the DBEngine Groups from the Replication Manager Database.

HTTP URL: <baseURL>/ctMemphisGetDBEngineGroups/

HTTP Verb: POST

Parameters:

  • request [IN] - Get DBEngineGroups request in JSON format. For example:

{

"name": "dbEngineGroup1", // optional, if provided, search DBEngine

group by name

"partial": true, // optional, if provided with "name", the search

by name will look for like "<name>%"

"id": 1, // optional, if provided, search DBEngine

group by ID

"paging": true, // optional, see Note 1 - Paging Parameters

"limit": 100, // optional, see Note 1 - Paging Parameters

"start": 200 // optional, see Note 1 - Paging Parameters

}

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

{

"dbEngineGroupList": [

{

"id": 1,

"name": "dbEngineGroup1",

"description": "DBEngine group for ABC purposes"

},

{

"id": 2,

"name": "dbEngineGroup2",

"description": "File group for XYZ purposes"

}

]

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

},

"total": 2 // total number of DBEngine groups for the query -

see Note 1 - Paging Parameters

}

Return:

Error code

TOCIndex