Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisLoadActionExec

int ctMemphisLoadActionExec( pRCESJson request, ppRCESJson result )

Description:

Load an action executor for the given agent.

HTTP URL: <baseURL>/ctMemphisLoadActionExec/

HTTP Verb: POST

Parameters:

  • request [IN] - Load action executor request in JSON format. For example:

{

"id": 2, // optional, if passed, loads the action executor

for the given agent ID

"dbEngine": 0, // optional, if "id" is not passed, it is required.

This is the DBEngine in which the action executor

should be loaded

"type": "FILE_SYSTEM", // required, supported types for now:

FILE_SYSTEM and REPLICATION

"library": "ctActionExecBasic", // optional, dynamic library file name without

extension which implements the action executor.

If not provided, the default is used. This is in

place for future support to custom action executors.

"threadCount": 4 // optional, number of threads for the action

consumer/executor. Default is 1

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex