POST api/ProductSubcategories

Request Information

URI Parameters

None.

Body Parameters

ProductSubcategoryBLVM
NameDescriptionTypeAdditional information
ProductSubcategories

Collection of ProductSubcategoryBL

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductSubcategories": [
    {
      "ProductSubcategoryId": 1,
      "ProductSubcategoryName": "sample string 2",
      "ProductCategoryName": "sample string 3",
      "ProductCategoryId": 1,
      "Description": "sample string 4",
      "IsNeedsToDelete": true
    },
    {
      "ProductSubcategoryId": 1,
      "ProductSubcategoryName": "sample string 2",
      "ProductCategoryName": "sample string 3",
      "ProductCategoryId": 1,
      "Description": "sample string 4",
      "IsNeedsToDelete": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductSubcategory
NameDescriptionTypeAdditional information
ProductSubcategoryId

integer

None.

ProductSubcategoryName

string

None.

ProductCategoryId

integer

None.

Products

Collection of Product

None.

ProductCategory

ProductCategory

None.

Response Formats

application/json, text/json

Sample:
{
  "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:21.4524309-07:00",
      "Carts": [
        {
          "RecordId": 1,
          "CartId": "sample string 2",
          "ProductId": 3,
          "Count": 4,
          "DateCreated": "2026-08-22T11:07:21.4524309-07:00"
        },
        {
          "RecordId": 1,
          "CartId": "sample string 2",
          "ProductId": 3,
          "Count": 4,
          "DateCreated": "2026-08-22T11:07:21.4524309-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:21.4524309-07:00",
      "Carts": [
        {
          "RecordId": 1,
          "CartId": "sample string 2",
          "ProductId": 3,
          "Count": 4,
          "DateCreated": "2026-08-22T11:07:21.4524309-07:00"
        },
        {
          "RecordId": 1,
          "CartId": "sample string 2",
          "ProductId": 3,
          "Count": 4,
          "DateCreated": "2026-08-22T11:07:21.4524309-07:00"
        }
      ]
    }
  ],
  "ProductCategory": {
    "ProductCategoryId": 1,
    "MasterProductCategoryId": 1,
    "ProductCategoryName": "sample string 2",
    "MasterProductCategory": {
      "MasterProductCategoryId": 1,
      "MasterProductCategoryName": "sample string 2",
      "ProductCategories": []
    },
    "ProductSubcategories": []
  }
}