setAssetsPublishState setassetspublishstate

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

這是的批次版本 setAssetState.

授權的使用者型別 section-0804726f683944dbbe9acfc3d35ccf25

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE
使用者必須擁有資產的讀取和寫入存取權。

參數 section-3e49d7859f8647b990d75373cc8dbc24

輸入(setAssetsPublishStateParam)

名稱
類型
必要
說明
companyHandle
xsd:string
公司控點。
publishStateUpdateArray
types:PublishStateUpdateArray
資產的發佈狀態值陣列。

輸出(setAssetsPublishStateParam)

名稱
類型
必要
說明
successCount
xsd:int
成功更新的資產數目。
warningCount
xsd:int
作業嘗試更新時產生警告的資產數目。
errororcount
xsd:int
作業嘗試刪除時產生錯誤的資產數目。
warningDetailArray
types:AssetOperationFaultArray
與產生警告的資產更新相關聯的詳細資料。
errorDetailArray
types:AssetOperationFaultArray
與產生錯誤的資產更新相關聯的詳細資料。

範例 section-38cfdd3436214a06a1bae16875501d51

此程式碼範例會設定資產的發佈狀態。

請求

<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>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681