# AddImageComparisonMetadata

Adds custom metadata (a key-value pair) to a database entry (a reference) for image comparison.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the image comparison database that contains the reference. | Yes
`identifier` | The identifier of the reference that you want to add metadata to. | Yes
`key` | The key to add (maximum 254 bytes). | Yes
`value` | The value to add (maximum 254 bytes). | Yes

## Example

The following example adds metadata to a reference in the `ReferenceImages` database:

    /action=AddImageComparisonMetadata&database=ReferenceImages
                                      &identifier=6d8e53fd92e601a4b8948e1b9397e381
                                      &key=PartNumber
                                      &value=8572087

## Response

    <autnresponse>
      <action>ADDIMAGECOMPARISONMETADATA</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

_FT_HTML5_bannerTitle.htm