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}
ParameterDescriptionTypeOptionsDefault
clientidThe id of the client for which information is to be returned.integer00
siteidThe id of the site for which information is to be returned.integer00
deviceidThe id of the device for which information is to be returned.integer00
yearThe year to queryinteger00
monthThe month to query (month number)integer00

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}
ParameterDescriptionTypeOptionsDefault
describeOptional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions.booleantrue0

Determine parameter values

Use the following associated service calls to determine parameter values.

ParameterCallURL Format
deviceidlist_devices_at_clienthttps://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&clientid=CLIENTID&devicetype=server
list_servershttps://{SERVER}/api/?apikey={yourAPIkey}&service=list_servers&siteid=SITEID
list_workstationshttps://{SERVER}/api/?apikey={yourAPIkey}&service=list_workstations&siteid=SITEID
siteidlist_siteshttps://{SERVER}/api/?apikey={yourAPIkey}&service=list_sites&clientid=CLIENTID
clientidlist_clientshttps://{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

FieldTypeCan Be EmptyDescription
selection/totalIntegerNoTotal selection size for account in bytes.
client/clientidIntegerNoUnique ID of the client.
client/nameStringNoName of the client.
client@activeStringNoTrue if the client still exists.
client/totalIntegerNoTotal selection size for client in bytes.
site/siteidIntegerNoUnique ID of the site.
site/nameStringNoName of the client.
site@activeStringNoTrue if the site still exists.
site/totalIntegerNoTotal selection size for site in bytes.
server/deviceidIntegerNoUnique ID of the device.
server/nameStringNoName of the device.
server@activeStringNoTrue if the device still exists.
workstation/deviceidIntegerNoUnique ID of the device.
workstation/nameStringNoName of the device.
workstation@activeStringNoTrue if the device still exists.
server or workstation/totalIntegerNoTotal selection size for device in bytes.
slot/slotidIntegerNoUnique ID of the Backup & Recovery slot.
slot@activeStringNoTrue if the slot is actively being used by a device.
slot/*PluginIntegerNoSelected size of storage in bytes for plugin.