Update

The Update action updates metadata for documents given by their identifier in a repository.

Request

/action=fetch&fetchaction=Update
		      [&parenttoken=<Parent_Token>]
		      [&config=<Base64_Config>]
		      [&identifiersXML=<Identifiers_XML>]
		      [&<Overriding_Config_Parameters>]

IdentifiersXML

The IdentifiersXML parameter specifies identifiers that require metadata updates along with a set of the metadata to be updated for each document. The data must be provided in XML format as below:

<IdentifiersXML>
  <identifier value="[AUTN_IDENTIFIER1]">
    <metadata name="[CustomField1]"  value="[CustomFieldValue1_1]"/>
    <metadata name="[CustomField1]"  value="[CustomFieldValue1_2]"/>
    <!-- ... -->
  </identifier>
  <identifier value="[AUTN_IDENTIFIER2]">
    <metadata name="[CustomField1]"  value="[CustomFieldValue2_1]"/>
    <!-- ... -->
  </identifier>
  <!-- ... -->
</IdentifiersXML>

Response

<fetchaction>UPDATE</fetchaction>
<tasks>
  <success>[IDENTIFIER1]</success>
  <success>[IDENTIFIER2]</success>
  <failed message="Error message">[IDENTIFIER3]</failed>
</tasks>

© 2014 Hewlett-Packard Development Company, L.P.