How to filter by a variable other than the target variable?

Description description

Environment

  • Customer Journey Analytics
  • Analytics

Issue/Symptoms
How to filter by a variable other than the target variable in Data Repair API (Application Programming Interface)?

Compound filters can be used in Data Repair API. For example, delete evar3 when evar2=X.

Resolution resolution

Data Repair API allows the filtering of variables other than the target variable. 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