Expand my Community achievements bar.

Join us LIVE in San Francisco on November 14th for Experience Makers The Skill Exchange. Don't miss out on this free learning event!
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