int ctMemphisGetVolumes( pRCESJson request, ppRCESJson result )
Description:
Retrieve all the Volumes for a given OpSystem from the Replication Manager Database.
HTTP URL: <baseURL>/ctMemphisGetVolumes/
HTTP Verb: POST
Parameters:
{
"id": 0, // optional, if passed, retrieve
the Volume by its identification
"opSystem": 0, // optional, if not passed, it will return
all the volumes from all the opsystems
"name": "C:/", // optional, if passed with the opSystem,
retrieve the Volume by its name
"paging": true, // optional, see Note 1 - Paging Parameters
"limit": 100, // optional, see Note 1 - Paging Parameters
"start": 200 // optional, see Note 1 - Paging Parameters
}
Note: If "opSystem" is not provided, it will return all the volumes from the Replication Manager Database.
{
"volumeList": [
{
"id": 1,
"opSystem": 0,
"name": "C:\",
"description": "Volume 1 description",
"totalDiskSpace": 1000,
"availDiskSpace": 500
},
Note: Because JSON does not support the backslash ("\"), we support the forward slash ("/") and convert it to the correct separator automatically.
{
"id": 2,
"opSystem": 0,
"name": "D:\",
"description": "Volume 2 description",
"totalDiskSpace": 1000,
"availDiskSpace": 500
}
]
"success": true,
"error":
{
"errorCode": 0,
"message": "Success"
},
"total": 500 // total number of volumes for the query -
see Note 1 - Paging Parameters
}
Return:
Error code