getDiskUsage

Returns information about a company’s structure (number of files, and so on.).

Authorized User Types

  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • ImagePortalAdmin

Parameters

Input (getDiskUsageParam)

Name
Type
Required
Description
companyHandle
xsd:string
Yes
The handle to the company whose disk usage you want to obtain.

Output (getDiskUsageReturn)

Name
Type
Required
Description
diskUsageArray
types:DiskUsageArray
Yes
Array of company disk use.

Examples

The name of this request is misleading. Rather than returning merely a scalar value that reflects how much disk space a company is using, it gets other information about the structure of a company as well.

Request

<ns1:getDiskUsageParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:companyHandle>47</ns1:companyHandle>
</ns1:getDiskUsageParam>

Response

<getDiskUsageReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <diskUsageArray>
      <items>
         <companyHandle>47</companyHandle>
         <companyName>My Company</companyName>
         <imageCount>207</imageCount>
         <diskSpaceUsage>3024</diskSpaceUsage>
         <lastModified>2007-09-14T22:10:30.661-07:00</lastModified>
      </items>
   </diskUsageArray>
</getDiskUsageReturn>
4e9b9d8c-5839-4215-aa35-01b652869681