Enumerating Device's Profiles in JSON-RPC API

You can get the list of profiles available to your devices of your own company and your customers using the EnumerateAccountProfiles method.

Required parameters

Parameter Description Supported values
partnerId

The ID of the customer whose devices you wish to list (retrieved through the GetPartnerInfo method)

<int> Integer

Sample request

{
    "id":"jsonrpc",
    "jsonrpc":"2.0",
    "visa": "{{visa}}",
    "method" : "EnumerateAccountProfiles",
    "params" : {
	    "partnerId" : 123456
    }
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": [
	    {
		"Id": 098765,
		"Name": "demo-prof",
		"PartnerId": 123456,
		"ProfileData": {
		    "BackupDataSourceSettings": [
			{
			    "DataSource": "WorkstationFileSystem",
			    "ExclusionFilter": null,
			    "Policy": "Force",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ],
			    "SelectionModification": "ForbidAnyModification"
			},
			{
			    "DataSource": "ServerFileSystem",
			    "ExclusionFilter": null,
			    "Policy": "Force",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ],
			    "SelectionModification": "ForbidAnyModification"
			},
			{
			    "DataSource": "SystemState",
			    "ExclusionFilter": null,
			    "Policy": "Force",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "NetworkShares",
			    "ExclusionFilter": null,
			    "Policy": "AllowedManualConfiguration",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "MsSql",
			    "ExclusionFilter": null,
			    "Policy": "ForceIfExists",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "Exchange",
			    "ExclusionFilter": null,
			    "Policy": "ForceIfExists",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "VMWare",
			    "ExclusionFilter": null,
			    "Policy": "AllowedManualConfiguration",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "SharePoint",
			    "ExclusionFilter": null,
			    "Policy": "ForceIfExists",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "Oracle",
			    "ExclusionFilter": null,
			    "Policy": "AllowedManualConfiguration",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "HyperV",
			    "ExclusionFilter": null,
			    "Policy": "AllowedManualConfiguration",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			},
			{
			    "DataSource": "MySql",
			    "ExclusionFilter": null,
			    "Policy": "AllowedManualConfiguration",
			    "SelectionCollection": [
				{
				    "Selection": "/"
				}
			    ]
			}
		    ],
		    "BackupSchedule": [
			{
			    "DataSourceCollection": [
				"WorkstationFileSystem",
				"ServerFileSystem",
				"SystemState",
				"NetworkShares",
				"MsSql",
				"Exchange",
				"VMWare",
				"SharePoint",
				"Oracle",
				"HyperV",
				"MySql"
			    ],
			    "DayOfWeekCollection": [
				"Sunday",
				"Monday",
				"Tuesday",
				"Wednesday",
				"Thursday",
				"Friday",
				"Saturday"
			    ],
			    "FireTimeInterval": {
				"LowerBound": {
				    "Hour": 0,
				    "Minute": 0
				},
				"UpperBound": {
				    "Hour": 0,
				    "Minute": 0
				}
			    },
			    "Name": "GeneratedSchedule"
			}
		    ],
		    "HighFrequentBackupSchedule": {
			"BackupScheduleItems": [
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "WorkstationFileSystem",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "ServerFileSystem",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "SystemState",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "NetworkShares",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "MsSql",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "Exchange",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "VMWare",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "SharePoint",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "Oracle",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "HyperV",
				"TimeOfFirstBackup": 0
			    },
			    {
				"DoNotStartDuringWorkingHours": false,
				"Frequency": "Every24Hours",
				"PluginId": "MySql",
				"TimeOfFirstBackup": 0
			    }
			],
			"WorkingHours": {
			    "Days": [
				"Monday",
				"Tuesday",
				"Wednesday",
				"Thursday",
				"Friday"
			    ],
			    "EndTime": 64800,
			    "StartTime": 28800
			}
		    },
		    "Language": "en",
		    "TemporaryFolderPath": null
		},
		"Version": 1
	    }
        ]
    },
    "visa": {{visa}}
}