Backup & Recovery Selection Size
Service name: mob/mob_list_selection_size
Base URL
https://{SERVER}/api/?apikey={yourAPIkey}&service=mob/mob_list_selection_size
Description
Returns the Backup & Recovery - previously known as Managed Online Backup - (MOB) selection size for the specified device for the entered month and year combination. Please be aware that the backup values stated in this API call are in Bytes. If you require this information in Megabyte, divide the backup values by 1048576 (or backup value/1024/1024) and for Gigabytes divide the backup values by 1073741824 (or backup value/1024/1024/1024).
Parameters
Required parameters
Add required parameters immediately after the base URL.
https://{SERVER}/api/?apikey={yourAPIkey}&service=mob/mob_list_selection_size&required_parameters={parameter-value}
Parameter | Description | Type | Options | Default |
---|---|---|---|---|
clientid | The id of the client for which information is to be returned. | integer | 0 | 0 |
siteid | The id of the site for which information is to be returned. | integer | 0 | 0 |
deviceid | The id of the device for which information is to be returned. | integer | 0 | 0 |
year | The year to query | integer | 0 | 0 |
month | The month to query (month number) | integer | 0 | 0 |
Optional parameters
Add optional parameters after the required parameters in the base URL.
https://{SERVER}/api/?apikey={yourAPIkey}&service=mob/mob_list_selection_size&required_parameters={parameter-value}&optional_parameters={parameter-value}
Parameter | Description | Type | Options | Default |
---|---|---|---|---|
describe | Optional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions. | boolean | true | 0 |
Determine parameter values
Use the following associated service calls to determine parameter values.
Parameter | Call | URL Format |
---|---|---|
deviceid | list_devices_at_client | https://{SERVER} /api/?apikey={yourAPIkey} &service=list_devices_at_client&clientid=CLIENTID&devicetype=server |
list_servers | https://{SERVER} /api/?apikey={yourAPIkey} &service=list_servers&siteid=SITEID | |
list_workstations | https://{SERVER} /api/?apikey={yourAPIkey} &service=list_workstations&siteid=SITEID | |
siteid | list_sites | https://{SERVER} /api/?apikey={yourAPIkey} &service=list_sites&clientid=CLIENTID |
clientid | list_clients | https://{SERVER} /api/?apikey={yourAPIkey} &service=list_clients |
Examples
Get selection size for a device for a specified month and year
https://{SERVER}/api/?apikey={yourAPIkey}&service=mob/mob_list_selection_size&month=MONTH_NUMBER&year=YEAR&clientid=CLIENTID&siteid=SITEID&deviceid=DEVICEID
Example response
<?xml version="1.0" ?>
<result created="2013-03-08T15:07:54+00:00" host="Server" status="OK">
<selection>
<client active="true">
<clientid>1</clientid>
<name><![CDATA[Test Client1]]></name>
<site active="true">
<siteid>1</siteid>
<name><![CDATA[Test Site11]]></name>
<workstations>
<workstation active="false">
<deviceid>1</deviceid>
<name><![CDATA[Removed Device]]></name>
<slot active="true">
<slotid>1</slotid>
<SystemStateBackupPlugin>2097152</SystemStateBackupPlugin>
<FsBackupPlugin>1048576</FsBackupPlugin>
</slot>
<total>3145728</total>
</workstation>
<workstation active="true">
<deviceid>2</deviceid>
<name><![CDATA[Active Device 2]]></name>
<slot active="false">
<slotid>2</slotid>
<FsBackupPlugin>1048576</FsBackupPlugin>
</slot>
<total>1048576</total>
</workstation>
<workstation active="true">
<deviceid>3</deviceid>
<name><![CDATA[Active Device 3]]></name>
<slot active="true">
<slotid>3</slotid>
<NetworkSharesBackupPlugin>2097172</NetworkSharesBackupPlugin>
<SystemStateBackupPlugin>2097152</SystemStateBackupPlugin>
<FsBackupPlugin>16717655425</FsBackupPlugin>
</slot>
<total>16721849749</total>
</workstation>
</workstations>
<servers/>
<total>16726044053</total>
</site>
<site active="true">
<siteid>2</siteid>
<name><![CDATA[Test Site21]]></name>
<workstations/>
<servers>
<server active="true">
<deviceid>4</deviceid>
<name><![CDATA[Active Device Server 4]]></name>
<slot active="true">
<slotid>4</slotid>
<SystemStateBackupPlugin>16715155489</SystemStateBackupPlugin>
<NetworkSharesBackupPlugin>18715155425</NetworkSharesBackupPlugin>
</slot>
<total>35430310914</total>
</server>
</servers>
<total>35430310914</total>
</site>
<total>52156354967</total>
</client>
<client active="true">
<clientid>2</clientid>
<name><![CDATA[Test Client2]]></name>
<site active="true">
<siteid>3</siteid>
<name><![CDATA[Test Site32]]></name>
<workstations>
<workstation active="true">
<deviceid>5</deviceid>
<name><![CDATA[Active Device 5]]></name>
<slot active="true">
<slotid>5</slotid>
<FsBackupPlugin>19715155425</FsBackupPlugin>
</slot>
<slot active="false">
<slotid>6</slotid>
<SystemStateBackupPlugin>19815155425</SystemStateBackupPlugin>
</slot>
<total>39530310850</total>
</workstation>
</workstations>
<servers/>
<total>39530310850</total>
</site>
<total>39530310850</total>
</client>
<client active="false">
<clientid>4</clientid>
<name><![CDATA[Removed Client]]></name>
<site active="false">
<siteid>6</siteid>
<name><![CDATA[Removed Site]]></name>
<workstations>
<workstation active="false">
<deviceid>6</deviceid>
<name><![CDATA[Removed Device 2]]></name>
<slot active="false">
<slotid>7</slotid>
<SystemStateBackupPlugin>199155425</SystemStateBackupPlugin>
</slot>
<total>199155425</total>
</workstation>
</workstations>
<servers/>
<total>199155425</total>
</site>
<total>199155425</total>
</client>
<total>91885821242</total>
</selection>
</result>
Returned fields
Field | Type | Can Be Empty | Description |
---|---|---|---|
selection/total | Integer | No | Total selection size for account in bytes. |
client/clientid | Integer | No | Unique ID of the client. |
client/name | String | No | Name of the client. |
client@active | String | No | True if the client still exists. |
client/total | Integer | No | Total selection size for client in bytes. |
site/siteid | Integer | No | Unique ID of the site. |
site/name | String | No | Name of the client. |
site@active | String | No | True if the site still exists. |
site/total | Integer | No | Total selection size for site in bytes. |
server/deviceid | Integer | No | Unique ID of the device. |
server/name | String | No | Name of the device. |
server@active | String | No | True if the device still exists. |
workstation/deviceid | Integer | No | Unique ID of the device. |
workstation/name | String | No | Name of the device. |
workstation@active | String | No | True if the device still exists. |
server or workstation/total | Integer | No | Total selection size for device in bytes. |
slot/slotid | Integer | No | Unique ID of the Backup & Recovery slot. |
slot@active | String | No | True if the slot is actively being used by a device. |
slot/*Plugin | Integer | No | Selected size of storage in bytes for plugin. |
Updated about 1 month ago