updateTagFieldValues updatetagfieldvalues

タグフィールドのタグ辞書の値を更新します。

構文

認証済みユーザータイプ section-0372b742b1344979b0668faacb36fcc6

  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

パラメータ section-0a3a4bab026746238c9d4009caf42e94

入力 (updateTagFieldValuesParam)

名前
種類
必須
説明
companyHandle
xsd:string
はい
会社の取り扱い。
fieldHandle
xsd:string
はい
タグフィールドハンドル。
updateArray
types:TagValueUpdateArray
はい

更新するタグフィールド値の配列。

注意:タグ文字列の値のみを更新します。 アセットの関連付けには影響しません。

出力 (updateTagFieldValuesReturn)

名前
種類
必須
説明
successCount
xsd:int
はい
正常に更新されたタグフィールドの数。
warningCount
xsd:int
はい
操作でタグフィールドの更新が試行された際に生成された警告の数。
errorCount
xsd:int
はい
操作がタグフィールドの更新を試みた際に生成されたエラーの数。
warningDetailArray
types:TagValueUpdateFaultArray
いいえ
操作がタグフィールドの更新を試みた際に警告が生成されたアセットに関連付けられた詳細の配列。
errorDetailArray
types:TagValueUpdateFaultArray
いいえ
操作がタグフィールドの更新を試みた際にエラーが発生したアセットに関連付けられた詳細の配列。

section-bb4dcf97044c4675974c9b8d27674001

リクエスト

<updateTagFieldValuesParam xmlns="http://www.scene7.com/IpsApi/xsd/2010-01-31">
   <companyHandle>c|3</companyHandle>
   <fieldHandle>m|3|ASSET|SingleFixedTag</fieldHandle>
   <updateArray>
      <items>
         <oldValue>Nurth</oldValue>
         <newValue>North</newValue>
      </items>
      <items>
         <oldValue>Suth</oldValue>
         <newValue>South</newValue>
      </items>
      <items>
         <oldValue>East</oldValue>
         <newValue>West</newValue>
      </items>
      <items>
         <oldValue>Banana</oldValue>
         <newValue>Pear</newValue>
      </items>
   </updateArray>
</updateTagFieldValuesParam>

応答

<updateTagFieldValuesReturn xmlns="http://www.scene7.com/IpsApi/xsd/2010-01-31">
   <successCount>2</successCount>
   <warningCount>0</warningCount>
   <errorCount>2</errorCount>
   <errorDetailArray>
      <items>
         <value>East</value>
         <code>30001</code>
         <reason>New tag value 'West' already exists.</reason>
      </items>
      <items>
         <value>Banana</value>
         <code>30001</code>
         <reason>Tag value 'Banana' not found.</reason>
      </items>
   </errorDetailArray>
</updateTagFieldValuesReturn>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681