setAssetPublishState setassetpublishstate

アセットを公開する準備ができているかどうかを指定します。

構文

許可されたユーザーの種類 section-11bec77e50b24461bb8c8aacf016eec8

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE
ユーザーは、アセットに対する読み取りおよび書き込みアクセス権を持っている必要があります。

パラメータ section-09d2ba001a2a455a9102550272f3eecb

入力(setAssetPublishStateParam)

名前
種類
必須
説明
companyHandle
xsd:string
はい
会社の取っ手。
assetHandle
xsd:string
はい
アセットハンドル。
publishState
xsd:string
はい

使用可能な状態:

  • MarkedForPublish
  • 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