getZipEntries

Returns Zip file data.

Syntax

Authorized User Types

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • TrialSiteUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser

Parameters

Input (getZipEntriesParam)

Name Type Required Description
*companyHandle* xsd:string Yes The handle to the company that contains the Zip file.
*assetHandle* xsd:string Yes Handle to the Zip file.

Output (getZipEntriesReturn)

Name Type Required Description
*zipArray* types:ZipEntryArray Yes Array of entries in a Zip file.

Examples

This code sample returns Zip file information, including compressed and uncompressed size.

Request

<getZipEntriesParam xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <companyHandle>c|21</companyHandle>
   <assetHandle>a|94223|27|30602</assetHandle>
</getZipEntriesParam>

Response

<getZipEntriesReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <zipArray
      <items>
         <name>Checklist_Images/.DS_Store</name>
         <isDirectory>false</isDirectory>
         <lastModified>2007-05-09T15:41:52.000-07:00</lastModified>
         <compressedSize>503</compressedSize>
         <uncompressedSize>6148</uncompressedSize>
      </items>
   ...
   </zipArray>
</getZipEntriesReturn>

On this page