Znode

Build Version:

POST facetgroups

Creates a new facet group.

Request Information

» Parameters

Name Description Additional information
model The model of the facet group.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "FacetGroupID": 1,
  "FacetGroupLabel": "sample string 2",
  "ControlTypeID": 1,
  "CatalogID": 1,
  "DisplayOrder": 1,
  "FacetGroupCategories": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "FacetGroupID": 1,
        "CategoryID": 2,
        "CategoryDisplayOrder": 1
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "FacetGroupFacets": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "FacetID": 1,
        "FacetGroupID": 1,
        "FacetName": "sample string 2",
        "FacetDisplayOrder": 1,
        "IconPath": "sample string 3"
      },
      {
        "$ref": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  "FacetName": "sample string 3"
}