setAssetsPublishState

判斷一批資產是否已準備好發佈。

這是的批次版本 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>

本頁內容