int ctMemphisPersistSite( pRCESJson request, ppRCESJson result )
Description:
Persist a Site into the Replication Manager Database. If it doesn't exist, create it, otherwise updated it. In order to create a new one, the id must be -1 or not passed. And the update will be done by the ID.
HTTP URL: <baseURL>/ctMemphisPersistSite/
HTTP Verb: POST
Constraints:
Parameters:
{
"site": {
"id": 1, // optional, must be an
existing ID for update
"name": "site1", // required
"type": "local", // optional
"description": "site 1 description" // optional
}
}
{
"success": true,
"error":
{
"errorCode": 0,
"message": "Success"
}
}
Return:
Error code