Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisGetTempReplPlanName

int ctMemphisGetTempReplPlanName( pRCESJson request, ppRCESJson result )

Description:

Retrieve the next available default name for the Replication Plan in the following format "ReplPlanX" when X is the index.

HTTP URL: <baseURL>/ctMemphisGetTempReplPlanName/

HTTP Verb: POST

Note:

This API suggests the next available default name for a new Replication Plan, but it doesn't reserve it. So, it might happen that two calls in a short period of time might return the same name for both, what might cause a duplicated name when persisting a new Replication Plan.

Parameters:

  • request [IN] - No input.

{

}

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

{

"name": "ReplPlan1"

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

},

}

Return:

Error code

TOCIndex