getAssetCounts getassetcounts

特定の会社に関連付けられているアセットとアセットの数を取得します。

返されるcountArrayassetTypes (データ型xsd:string)の配列で構成され、それぞれに独自のカウント フィールド (データ型xsd:int)が含まれており、配列の要素ごとに複数のアセットタイプを表すことができます。
構文

承認済みユーザータイプ section-6234754722184e828352f10eb18fbce9

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

パラメーター section-2a9581315eca427d8a3d26cc3fca7b1f

入力(getAssetCountsParam)

名前
種類
必須
説明
companyHandle
xsd:string
はい
カウントするアセットを持つ会社へのハンドル。

出力(getAssetCountsReturn)

名前
種類
必須
説明
countArray
types:AssetCountArray
いいえ
配列の要素ごとに複数のアセットタイプを表すことができる、各アセットタイプに独自のカウントフィールドを持つ配列。

section-6052a503eb3843f6adb99e200fdba280

このコード サンプルでは、IPS Web サービス サーバーに送信されたgetAssetCountsParamのフィールドとして会社のハンドルを使用して、アセット数を取得します。

リクエスト

<getAssetCountsParam xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <companyHandle>c|6</companyHandle>
</getAssetCountsParam>

応答

<getAssetCountsReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <countArray>
      <items>
         <assetType>Image</assetType>
         <count>44</count>
      </items>
      <items>
         <assetType>Flash</assetType>
         <count>3</count>
      </items>
   </countArray>
</getAssetCountsReturn>
recommendation-more-help
dynamic-media-developer-resources-help-aem-ips-api