Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisPersistLayoutInfo

int ctMemphisPersistLayoutInfo( pRCESJson request, ppRCESJson result )

Description:

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

HTTP URL: <baseURL>/ctMemphisPersistLayoutInfo/

HTTP Verb: POST

Parameters:

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

{

"layoutInfo": [

{

"id": 2,

"description": "Desc 2",

"layoutIdx": 2, // layout number

"zoom": 100, // zoom level

}

]

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex