Expand my Community achievements bar.

The Community Ideas review for H1 2025 is out now, see which ideas our Product team prioritized and let us know your thoughts.
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 10

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 10

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

Avatar

Level 2

Lars,

 

You ROCK!

 

Thank you so much!