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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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 AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm