How to filter by a variable other than the target variable

This article resolved the issue of how to filter by a variable other than the target variable in Data Repair API. Use compound filters in the Data Repair API.

Description description

Environment

  • Customer Journey Analytics
  • Analytics

Issue/Symptoms

How to filter by a variable other than the target variable in Data Repair API?

Resolution resolution

Data Repair API allows the filtering of variables other than the target variable. Compound filters can be used in Data Repair API. For example, delete evar3 when evar2=X.

However, this is not available to all customers. Reach out to Adobe Customer Care for more information.

Syntax:

{"variables": {
    "evarX": {
    "action": "delete",
    "filter": {
        "condition": "contains",
        "matchValue": "String",
        "variable": "evarY"}}}}

Note: In case an error is seen related to the syntax of the body variable, add content-type: application/json header parameter to the API request.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f