Znode

POST categories

Creates a new category.

Request Information

» Parameters

Name Description Additional information
model The model of the category.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "AlternateDescription": "sample string 1",
  "CategoryId": 2,
  "CategoryNodes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Catalog": {
          "$id": "4",
          "CatalogId": 1,
          "ExternalId": "sample string 2",
          "IsActive": true,
          "Name": "sample string 4",
          "PortalId": 1,
          "PreserveCategories": true,
          "IsDefault": true
        },
        "CatalogId": 1,
        "Category": {
          "$ref": "1"
        },
        "CategoryId": 1,
        "CategoryNodeId": 2,
        "BeginDate": "2018-10-19T01:15:03.5192832-04:00",
        "CssId": 1,
        "DisplayOrder": 1,
        "EndDate": "2018-10-19T01:15:03.5192832-04: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
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "CategoryProfiles": {
    "$id": "5",
    "$values": [
      {
        "$id": "6",
        "CategoryProfileID": 1,
        "CategoryID": 2,
        "ProfileID": 3,
        "EffectiveDate": "2018-10-19T01:15:03.5192832-04:00",
        "ProfileName": "sample string 5"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "CategoryUrl": "sample string 3",
  "CreateDate": "2018-10-19T01:15:03.5192832-04: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": "1"
      },
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ]
  },
  "SubcategoryGridIsVisible": true,
  "IsAssociate": true,
  "Title": "sample string 27",
  "UpdateDate": "2018-10-19T01:15:03.5192832-04:00",
  "CategoryBanner": "sample string 28",
  "PortalID": 1,
  "ProductId": 29,
  "CategoryIds": "sample string 30",
  "UserName": "sample string 31",
  "LabelCategoryBannerLongDescription": "sample string 32",
  "LabelCategoryBannerLongDescriptionIsVisible": true,
  "LabelCategoryAdditionalContent1": "sample string 34",
  "LabelCategoryAdditionalContent1IsVisible": true,
  "LabelCategoryAdditionalContent2": "sample string 36",
  "LabelCategoryAdditionalContent2IsVisible": true,
  "LabelCategoryAdditionalContent3": "sample string 38",
  "LabelCategoryAdditionalContent3IsVisible": true,
  "LabelCategoryAdditionalContent4": "sample string 40",
  "LabelCategoryAdditionalContent4IsVisible": true,
  "LabelCategoryAdditionalContent5": "sample string 42",
  "LabelCategoryAdditionalContent5IsVisible": true,
  "LabelCategoryAdditionalContent6": "sample string 44",
  "LabelCategoryAdditionalContent6IsVisible": true,
  "LabelCategoryAdditionalContent7": "sample string 46",
  "LabelCategoryAdditionalContent7IsVisible": true,
  "LabelCategoryAdditionalContent8": "sample string 48",
  "LabelCategoryAdditionalContent8IsVisible": true
}