Exchange Web Service Connector 12.12

# 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 `IdentifiersXML` parameter specifies the identifiers of the documents to update. It also specifies the metadata to update for each document (use the `metadata` element to update the value of a single field or the `xmlmetadata` element to provide metadata updates as structured XML). 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=...
                 &[Section]Parameter=Value
where `[Section]` (optional) is the name of a configuration file section, `Parameter` is the name of a configuration parameter, and `Value` is the parameter value. | 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>

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Exchange Web Service Connector 12.12

Topic Title: Update