Znode

POST categorynodes

Creates a new category node.

Request Information

» Parameters

Name Description Additional information
model The model of the category node.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "Catalog": {
    "$id": "2",
    "CatalogId": 1,
    "ExternalId": "sample string 2",
    "IsActive": true,
    "Name": "sample string 4",
    "PortalId": 1,
    "PreserveCategories": true,
    "IsDefault": true,
    "IsFromSitecore": true
  },
  "CatalogId": 1,
  "Category": {
    "$id": "3",
    "AlternateDescription": "sample string 1",
    "CategoryId": 2,
    "CategoryNodes": {
      "$id": "4",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "CategoryProfiles": {
      "$id": "5",
      "$values": [
        {
          "$id": "6",
          "CategoryProfileID": 1,
          "CategoryID": 2,
          "ProfileID": 3,
          "EffectiveDate": "2018-12-11T14:58:57.3242485-08:00",
          "ProfileName": "sample string 5"
        },
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    "CategoryUrl": "sample string 3",
    "CreateDate": "2018-12-11T14:58:57.3242485-08:00",
    "Custom1": "sample string 4",
    "Custom2": "sample string 5",
    "Custom3": "sample string 6",
    "Description": "sample string 7",
    "DisplayOrder": 1,
    "ExternalId": "sample string 8",
    "ImageAltTag": "sample string 9",
    "ImageFile": "sample string 10",
    "ImageLargePath": "sample string 11",
    "ImageMediumPath": "sample string 12",
    "ImageSmallPath": "sample string 13",
    "ImageSmallThumbnailPath": "sample string 14",
    "ImageThumbnailPath": "sample string 15",
    "IsVisible": true,
    "Name": "sample string 17",
    "ProductIds": "sample string 18",
    "SeoDescription": "sample string 19",
    "SeoKeywords": "sample string 20",
    "SeoTitle": "sample string 21",
    "SeoUrl": "sample string 22",
    "ShortDescription": "sample string 23",
    "RedirectUrlInd": true,
    "Subcategories": {
      "$id": "7",
      "$values": [
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    "SubcategoryGridIsVisible": true,
    "IsAssociate": true,
    "Title": "sample string 27",
    "UpdateDate": "2018-12-11T14:58:57.3242485-08:00",
    "CategoryBanner": "sample string 28",
    "PortalID": 1,
    "ProductId": 29,
    "CategoryIds": "sample string 30",
    "UserName": "sample string 31",
    "IsFromSitecore": true,
    "ProductCount": 33,
    "ParentCategoryNodeId": 34,
    "IsActive": true,
    "ActiveProductCount": 36
  },
  "CategoryId": 1,
  "CategoryNodeId": 2,
  "BeginDate": "2018-12-11T14:58:57.3242485-08:00",
  "CssId": 1,
  "DisplayOrder": 1,
  "EndDate": "2018-12-11T14:58:57.3242485-08:00",
  "IsActive": true,
  "MasterPageId": 1,
  "ParentCategoryNodeId": 1,
  "ThemeId": 1,
  "ErrorMessage": "sample string 4",
  "Name": "sample string 5",
  "Title": "sample string 6",
  "VisibleInd": true,
  "IsCategoryAssociated": true
}