int ctMemphisGetReplSubscriptions( pRCESJson request, ppRCESJson result )
Description:
Retrieve all the Subscriptions from the Replication Manager Database for the given Replication Plan.
HTTP URL: <baseURL>/ctMemphisGetReplSubscriptions/
HTTP Verb: POST
Parameters:
{
"id": 0, // required
"paging": true, // optional, see Note 1 - Paging Parameters
"limit": 100, // optional, see Note 1 - Paging Parameters
"start": 200 // optional, see Note 1 - Paging Parameters
}
{
"subscriptionList": [
{
"id": 1,
"name": "subscription1",
"description": "Subscription for ABC purposes",
"publication": 0,
"dbEngine": 0,
"redirectionList": [
{
"sourcePath": "C:\sourcePath1",
"targetPath": "C:\targetPath1"
},
{
"sourcePath": "C:\sourcePath2",
"targetPath": "C:\targetPath2"
}
]
},
{
"id": 2,
"name": "subscription2",
"description": "Subscription for XYZ purposes",
"publication": 1,
"dbEngine": 1,
"redirectionList": [
{
"sourcePath": "C:\sourcePath1",
"targetPath": "C:\targetPath1"
},
{
"sourcePath": "C:\sourcePath2",
"targetPath": "C:\targetPath2"
}
]
}
]
"success": true,
"error":
{
"errorCode": 0,
"message": "Success"
},
"total": 500 // total number of replication files for the query -
see Note 1 - Paging Parameters
}
Return:
Error code