특정 회사와 연결된 자산 및 자산 수를 가져옵니다.
다음 countArray
반환된 항목은 assetTypes
(데이터 유형) xsd:string
). 각각 자체 카운트 필드(데이터 유형)가 있습니다. xsd:int
). 배열 요소당 여러 자산 유형을 나타낼 수 있습니다.
구문
IpsUser
IpsAdmin
IpsCompanyAdmin
TrialSiteAdmin
TrialSiteUser
ImagePortalAdmin
ImagePortalUser
ImagePortalContrib
ImagePortalContribUser
입력(getAssetCountsParam)
이름 | 유형 | 필수 | 설명 |
---|---|---|---|
companyHandle | xsd:string |
예 | 카운트할 자산이 있는 회사의 핸들입니다. |
출력(getAssetCountsReturn)
이름 | 유형 | 필수 | 설명 |
---|---|---|---|
countArray | types:AssetCountArray |
아니요 | 각각 자체 카운트 필드가 있는 자산 유형의 배열로서, 배열 요소당 여러 자산 유형을 표현할 수 있습니다. |
이 코드 샘플은 회사의 핸들을 getAssetCountsParam
자산 수를 가져오기 위해 IPS 웹 서비스 서버로 전송됩니다.
요청
<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>