Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisPersistLayouts

int ctMemphisPersistLayouts( pRCESJson request, ppRCESJson result )

Description:

Persist a list of Layouts into the Replication Manager Database. If any doesn't exist, create it, otherwise updated it. In order to create a new one, the ID must be -1 or not passed.

HTTP URL: <baseURL>/ctMemphisPersistLayouts/

HTTP Verb: POST

Parameters:

  • request [IN] - Persist Site request in JSON format. For example:

{

"layoutId" 2,

"layoutList": [

{

"id": 1,

"objectType: 1, // 1 for Group - 2 for dbEngines

"objectId": 2,

"posX": 100,

"posY": 200,

"height": 100,

"width": 200,

"collapsed": true

},

{

"id": 2,

"objectType: 2, // 1 for Group - 2 for dbEngines

"objectId": 3,

"posX": 100,

"posY": 200,

"height": 100,

"width": 200,

"collapsed": false

}

]

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex