int ctMemphisPersistPublication( pRCESJson request, ppRCESJson result )
Description:
Persist a Publication into the Replication Manager Database. If it doesn't exist, create it, otherwise update it. 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>/ctMemphisPersistPublication/
HTTP Verb: POST
Constraints:
Parameters:
{
"publication": {
"id": -1, // optional, must be a existing ID for update
"name": "publication3", // required
"description": "General publication", // optional
"dbEngine": 3 // required
}
}
{
"success": true,
"error":
{
"errorCode": 0,
"message": "Success"
},
"id": 3
}
Return:
Error code