SolarWinds Backup Help

Getting device info by ID in JSON-RPC API

To get information about a backup device by its ID, use the GetAccountInfoById method.

Required parameters

Parameter Description Supported values
accountId The ID of the backup device to get information about Int

Optional parameters

Parameter Description Supported values
homeNodeInfo what it is for StorageNodeInfo (has child parameters of its own)

Sample request

{
	"id": "jsonrpc",
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
	"method": "GetAccountInfoById",
	"jsonrpc": "2.0",
	"params": {
		"accountId": 72896
	}
}

Sample response

{
	"id": "jsonrpc",
	"jsonrpc": "2.0",
		"result":
       	{
			"CreationTime": 1517402049,
			"ExpectedBackupSize": 1024,
			"ExpirationTime": 1535673599,
			"Id": 72896,
			"LocationId": 1,
			"Name": "test-device",
			"NameAlias": null,
			"PartnerId": 33495,
			"Password": "uadafjh136r",
			"ProductId": 1,
			"RemovalTime": 0,
			"StorageId": 1,
			"StorageLocationId": 1,
			"Token": "068a53c1-a64b-45c8-a87e-0000XX0000X0Xx0"
	},
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}