Update
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 The parameter value must be provided in XML format as below: <IdentifiersXML> <identifier value="AUTN_IDENTIFIER1"> <metadata name="CustomField" value="Value1"/> <metadata name="CustomField" value="Value2"/> <!-- ... --> </identifier> <identifier value="AUTN_IDENTIFIER2"> <xmlmetadata> <CustomField>Value1</CustomField> <CustomField>Value2</CustomField> <AnotherField> <SubField>Value</SubField> </AnotherField> </xmlmetadata> </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 |
Response
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>