POST api/suppliers/availableFilters

Gets list of available filters

Request Information

URI Parameters

None.

Body Parameters

Search Available Filters

NameDescriptionTypeAdditional information
SearchString

Search string

string

None.

Facets

Facets Selection

FacetSelection

None.

OnContentSet

On Content Set Options

boolean

Default value is False

Request Formats

application/json, text/json

Sample:
{
  "searchString": "sample string 1",
  "facets": {
    "brands": [
      "sample string 1",
      "sample string 2"
    ],
    "categories": [
      "sample string 1",
      "sample string 2"
    ],
    "dealTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "departments": [
      "sample string 1",
      "sample string 2"
    ],
    "subCategories": [
      "sample string 1",
      "sample string 2"
    ],
    "themes": [
      "sample string 1",
      "sample string 2"
    ],
    "favorites": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "onContentSet": true
}

Response Information

Facet/filters result

NameDescriptionTypeAdditional information
Brands

Brands

Collection of FacetItem

None.

Categories

Categories

Collection of FacetItem

None.

DealTypes

Deal Types

Collection of FacetItem

None.

Departments

Departments

Collection of FacetItem

None.

SubCategories

SubCategories

Collection of FacetItem

None.

Themes

Themes

Collection of FacetItem

None.

Response Formats

application/json, text/json

Sample:
{
  "brands": [
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    },
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    }
  ],
  "categories": [
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    },
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    }
  ],
  "dealTypes": [
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    },
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    }
  ],
  "departments": [
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    },
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    }
  ],
  "subCategories": [
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    },
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    }
  ],
  "themes": [
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    },
    {
      "count": 1,
      "name": "sample string 2",
      "selected": true
    }
  ]
}