updateTagFieldValues updatetagfieldvalues
Aggiorna i valori del dizionario tag per un campo tag.
Sintassi
Tipi di utenti autorizzati section-0372b742b1344979b0668faacb36fcc6
IpsAdmin
IpsCompanyAdmin
ImagePortalAdmin
Parametri section-0a3a4bab026746238c9d4009caf42e94
Input (updateTagFieldValuesParam)
Nome
Tipo
Obbligatorio
Descrizione
companyHandle
xsd:stringa
Sì
Gestore azienda.
fieldHandle
xsd:stringa
Sì
Handle campo tag.
updateArray
tipi:TagValueUpdateArray
Sì
Matrice di valori dei campi tag che si desidera aggiornare.
Nota: aggiorna solo i valori delle stringhe di tag. Non influisce sulle associazioni di risorse.
Output (updateTagFieldValuesReturn)
Nome
Tipo
Obbligatorio
Descrizione
successCount
xsd:int
Sì
Numero di campi tag aggiornati correttamente.
warningCount
xsd:int
Sì
Numero di avvisi generati quando l’operazione ha tentato di aggiornare i campi tag.
errorCount
xsd:int
Sì
Il numero di errori generati quando l’operazione ha tentato di aggiornare i campi tag.
warningDetailArray
types:TagValueUpdateFaultArray
No
Array di dettagli associati alle risorse che hanno generato avvisi quando l’operazione ha tentato di aggiornare i campi tag.
errorDetailArray
types:TagValueUpdateFaultArray
No
Array di dettagli associati alle risorse che hanno generato errori quando l’operazione ha tentato di aggiornare i campi tag.
Esempi section-bb4dcf97044c4675974c9b8d27674001
Request Contents (Richiesta contenuto)
<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>
Risposta
<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