POST api/MasterProductCategories

Request Information

URI Parameters

None.

Body Parameters

MasterProductCategoryBLVM
NameDescriptionTypeAdditional information
MasterProductCategories

Collection of MasterProductCategoryBL

None.

Request Formats

application/json, text/json

Sample:
{
  "MasterProductCategories": [
    {
      "MasterProductCategoryId": 1,
      "MasterProductCategoryName": "sample string 2",
      "IsNeedsToDelete": true
    },
    {
      "MasterProductCategoryId": 1,
      "MasterProductCategoryName": "sample string 2",
      "IsNeedsToDelete": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MasterProductCategory
NameDescriptionTypeAdditional information
MasterProductCategoryId

integer

None.

MasterProductCategoryName

string

None.

ProductCategories

Collection of ProductCategory

None.

Response Formats

application/json, text/json

Sample:
{
  "MasterProductCategoryId": 1,
  "MasterProductCategoryName": "sample string 2",
  "ProductCategories": [
    {
      "ProductCategoryId": 1,
      "MasterProductCategoryId": 1,
      "ProductCategoryName": "sample string 2",
      "ProductSubcategories": [
        {
          "ProductSubcategoryId": 1,
          "ProductSubcategoryName": "sample string 2",
          "ProductCategoryId": 1,
          "Products": [
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            },
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            }
          ]
        },
        {
          "ProductSubcategoryId": 1,
          "ProductSubcategoryName": "sample string 2",
          "ProductCategoryId": 1,
          "Products": [
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            },
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "ProductCategoryId": 1,
      "MasterProductCategoryId": 1,
      "ProductCategoryName": "sample string 2",
      "ProductSubcategories": [
        {
          "ProductSubcategoryId": 1,
          "ProductSubcategoryName": "sample string 2",
          "ProductCategoryId": 1,
          "Products": [
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            },
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            }
          ]
        },
        {
          "ProductSubcategoryId": 1,
          "ProductSubcategoryName": "sample string 2",
          "ProductCategoryId": 1,
          "Products": [
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            },
            {
              "ProductId": 1,
              "ProductSubcategoryId": 2,
              "ProductName": "sample string 3",
              "Price": 4.0,
              "ProductImageUrl": "sample string 5",
              "ProductVideoUrl": "sample string 6",
              "MediaFolderPath": "sample string 7",
              "StoreDesignNo": "sample string 8",
              "BrandDesignNo": "sample string 9",
              "StockStartQuantity": 1,
              "StockInQuantity": 1,
              "ProductDescription": "sample string 10",
              "IsActive": true,
              "CreatedDate": "2026-08-22T11:07:22.0461653-07:00",
              "Carts": [
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                },
                {
                  "RecordId": 1,
                  "CartId": "sample string 2",
                  "ProductId": 3,
                  "Count": 4,
                  "DateCreated": "2026-08-22T11:07:22.0461653-07:00"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}