DocumentationDynamic Media Image Production System API

getDiskUsage

Last update: November 3, 2023
  • Topics:
  • Dynamic Media Classic,SDK/API

CREATED FOR:

  • Developer
  • Admin

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

Authorized User Types

  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • ImagePortalAdmin

Parameters

Input (getDiskUsageParam)

NameTypeRequiredDescription
companyHandlexsd:stringYesThe handle to the company whose disk usage you want to obtain.

Output (getDiskUsageReturn)

NameTypeRequiredDescription
diskUsageArraytypes:DiskUsageArrayYesArray 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>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681