SolarWinds Backup Help

Getting a list of storage statistics in JSON-RPC API

You can get a list of storage statistics using the EnumerateStorageStatistics method.

Required parameters

Parameter Description Supported values
partnerId The ID of the customer to list the storages for (retrieved through the GetPartnerInfo method as the "Id" result) Int

Sample request

{
	"jsonrpc":"2.0",
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
	"id":"jsonrpc",
	"method" : "EnumerateStorageStatistics",
	"params" : {
		"partnerId" : 123456
		}
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": [
		{
		    "LocationId": 1,
		    "OnlineStorageNodeCount": 0,
		    "TotalOnlineStorageInMb": 0,
		    "TotalStorageInMb": 0,
		    "TotalStorageNodeCount": 0,
		    "UsedOnlineStorageInMb": 0,
		    "UsedStorageInMb": 0
		}
	]
    },
    "visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}