Expand my Community achievements bar.

Do you have questions about the migration to Adobe Business Platform? Come join our upcoming coffee break and ask away!
SOLVED

Can anyone provide a screen shot or example on how to do a 'Not In' or 'In' search operator?

Avatar

Level 2

Can anyone provide a screen shot or example on how to do a 'Not In' or 'In' search operator?

I'm getting errors when testing this (or it just doesn't work).  The API Basics page doesn't discuss this.

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hello,

To achieve this in Fusion you can use e.g. a search module.

lgaertner_0-1699600181817.png

Important is to put all search keywords into an array.

 

If you prefer a direct API call, it would look like this:

{
    "fields": "*",
    "$$LIMIT": 200,
    "name": [
        "keyword1",
        "keyword2"
    ],
    "name_Mod": "in"
}

 

Regards

Lars

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

Hello,

To achieve this in Fusion you can use e.g. a search module.

lgaertner_0-1699600181817.png

Important is to put all search keywords into an array.

 

If you prefer a direct API call, it would look like this:

{
    "fields": "*",
    "$$LIMIT": 200,
    "name": [
        "keyword1",
        "keyword2"
    ],
    "name_Mod": "in"
}

 

Regards

Lars