Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisGetDBEnginesFromGroup

int ctMemphisGetDBEnginesFromGroup( pRCESJson request, ppRCESJson result )

Description:

Retrieve all the DBEngines from the Replication Manager Database for the given DBEngine Group

HTTP URL: <baseURL>/ctMemphisGetDBEnginesFromGroup/

HTTP Verb: POST

Note:

  • "Status" values can be: "inactive", "active", "stopping" or "starting"

Parameters:

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

{

"id": 0, // required

"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:

{

"dbEngineList": [

{

"id": 1,

"logicalName": "FAIRCOMS1@hostname",

"opSystem": 0,

"workingVolume": 0,

"workingDir": "FairCom",

"name": "FAIRCOMS1",

"status": "active", // see "Status" note above

"statusCode": 1, // see "Status" note above

"statusTime": "2015-11-05T10:00:00",

"lastCheckTime": "2015-11-17T11:35:00",

"description": "Faircoms 1 DBEngine description",

"authContent": "Ï/9ÈÓ8\ÛÞ15Ԑ,=ÉÉ+8ºÛ81ÓÔv",

"isSQL": 1,

"portNbr": 5587,

"sqlPortNbr": 6587,

"localVolume": 0,

"localDir": "FairCom\data",

"users": 150,

"releaseVersion": "10.5.0.23948(Build-140411)",

"serial": "39000010",

"licenseOEM": 1,

"licenseType": "2",

"licenseCPUNbr": 0,

"licenseServerType": "ALL (Standard - SQL)",

"licenseUserNbr": 150,

"isAgent": 1

},

{

"id": 2,

"logicalName": "FAIRCOMS2@hostname2",

"opSystem": 0,

"workingVolume": 0,

"workingDir": "FairCom2",

"name": "FAIRCOMS2",

"status": "active", // see "Status" note above

"statusCode": 1, // see "Status" note above

"statusTime": "2015-11-05T10:00:00",

"lastCheckTime": "2015-11-17T11:35:00",

"description": "Faircoms 2 DBEngine description",

"authContent": "Ï/9ÈÓ8\ÛÞ15Ԑ,=ÉÉ+8ºÛ81ÓÔv",

"isSQL": 1,

"portNbr": 5587,

"sqlPortNbr": 6587,

"localVolume": 0,

"localDir": "FairCom2\data",

"users": 150,

"releaseVersion": "10.5.0.23948(Build-140411)",

"serial": "39000010",

"licenseOEM": 1,

"licenseType": "2",

"licenseCPUNbr": 0,

"licenseServerType": "ALL (Standard - SQL)",

"licenseUserNbr": 150,

"isAgent": 0

}

]

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

},

"total": 2 // total number of dbEngines for the query -

see Note 1 - Paging Parameters

}

Return:

Error code

TOCIndex