Open topic with navigation

# Send Whitelist and Blacklist Queries

When you query QMS, you can add a whitelist or blacklist to the query to modify the query.

To use a whitelist or blacklist

- Send queries with one of the following action parameters:

  - the `Whitelist` parameter set to the name of the whitelist to use.
  - the `Blacklist` parameter set to the name of the blacklist to use.

For example:

    action=Query&Text=phone&Whitelist=AllowList

    action=GetQueryTagValues&Text=phone&FieldName=MODEL&Whitelist=AllowList

These actions apply the `AllowList` whitelist, and remove any terms from the specified `Text` that are not in the whitelist.

    action=Query&Text=mobile phone&Blacklist=BanList

    action=GetQueryTagValues&Text=phone&FieldName=MODEL&Blacklist=BanList

These actions applies the `BanList` blacklist, and remove any terms from the specified `Text` that appear in the blacklist.

Refer to the QMS Reference for more information.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm