The Update action updates the metadata of documents in a repository.
Documents are specified by their identifier.
/action=fetch&fetchaction=Update [&config=<Base64_Config>] &identifiersXML=<Identifiers_XML> [&<Override_Config_Parameters>]
Type: Asynchronous
| Parameter Name | Description | Required |
|---|---|---|
Config
|
A base-64 encoded configuration. The configuration parameters that are set override the same parameters in the connector's configuration file. | No |
IdentifiersXML
|
The <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>
|
Yes |
Override_Config_Parameters
|
Any other action parameters that you set override settings in the connector's configuration file. For example: /action=fetch&fetchaction=... where |
No |
As this is an asynchronous action, you receive a token in response to the request. A sample response to the action (as retrieved using the QueueInfo action) appears below.
<fetchaction>UPDATE</fetchaction> <tasks> <success>[IDENTIFIER1]</success> <success>[IDENTIFIER2]</success> <failed message="Error message">[IDENTIFIER3]</failed> </tasks>
|
|