setAssetPublishState setassetpublishstate

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

語法

授權的使用者型別 section-11bec77e50b24461bb8c8aacf016eec8

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

參數 section-09d2ba001a2a455a9102550272f3eecb

輸入(setAssetPublishStateParam)

名稱
類型
必要
說明
companyHandle
xsd:string
公司的控制代碼。
assetHandle
xsd:string
資產控點。
publishState
xsd:string

可用狀態:

  • 已標籤為發佈
  • NotMarkedForPublish
contextHandleArray
程式碼片語

輸出

IPS API未傳回此作業的回應。

範例 section-c31ead6d0e594317a12c120509527792

此程式碼範例使用來設定資產的發佈狀態 NotMarkedForPublish.

請求

<setAssetPublishStateParam xmlns="http://www.scene7.com/IpsApi/xsd">
   <companyHandle>47</companyHandle>
   <assetHandle>24267|1|17063</assetHandle>
   <publishState>NotMarkedForPublish</publishState>
</setAssetPublishStateParam>

回答

無。

recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681