判斷一批資產是否已準備好發佈。
這是的批次版本 setAssetState.
IpsUser
IpsAdmin
IpsCompanyAdmin
ImagePortalAdmin
ImagePortalContrib
ImagePortalContribUser
使用者必須擁有資產的讀取和寫入存取權。
輸入(setAssetsPublishStateParam)
名稱 | 類型 | 必要 | 說明 |
---|---|---|---|
companyHandle | xsd:string |
是 | 公司控點。 |
publishStateUpdateArray | types:PublishStateUpdateArray |
是 | 資產的發佈狀態值陣列。 |
輸出(setAssetsPublishStateParam)
名稱 | 類型 | 必要 | 說明 |
---|---|---|---|
successCount | xsd:int |
是 | 成功更新的資產數目。 |
warningCount | xsd:int |
是 | 作業嘗試更新時產生警告的資產數目。 |
errororcount | xsd:int |
是 | 作業嘗試刪除時產生錯誤的資產數目。 |
warningDetailArray | types:AssetOperationFaultArray |
否 | 與產生警告的資產更新相關聯的詳細資料。 |
errorDetailArray | types:AssetOperationFaultArray |
否 | 與產生錯誤的資產更新相關聯的詳細資料。 |
此程式碼範例會設定資產的發佈狀態。
請求
<element name="setAssetsPublishStateParam">
<complexType>
<sequence>
<element name="companyHandle" type="xsd:string"/>
<element name="publishStateUpdateArray" type="types:PublishStateUpdateArray"/>
</sequence>
</complexType>
</element>
回答
<element name="setAssetsPublishStateReturn">
<complexType>
<sequence>
<element name="successCount" type="xsd:int"/>
<element name="warningCount" type="xsd:int"/>
<element name="errorCount" type="xsd:int"/>
<element name="warningDetailArray"type="types:AssetOperationFaultArray" minOccurs="0"/>
<element name="errorDetailArray"type="types:AssetOperationFaultArray" minOccurs="0"/>
</sequence>
</complexType>
</element>