POST api/Product

Request Information

URI Parameters

None.

Body Parameters

Collection of ProductBL
NameDescriptionTypeAdditional information
ProductId

integer

None.

ProductCode

string

None.

ProductSubCategoryId

integer

None.

ProductName

string

None.

PurchasePrice

decimal number

None.

SalesPrice

decimal number

None.

CustomerDiscount

decimal number

None.

B2BDiscount

decimal number

None.

ProductDescription

string

None.

Property1

string

None.

Property2

string

None.

Property3

string

None.

Property4

string

None.

Property5

string

None.

StockStartQuantity

integer

None.

StockInQuantity

integer

None.

IsActive

boolean

None.

DueTypeId

integer

None.

DueTypeDetailId

integer

None.

NeedsToDelete

boolean

None.

CreatedDate

date

None.

ProductSubCategoryName

string

None.

DueTypeName

string

None.

DueTypeDetailName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ProductId": 1,
    "ProductCode": "sample string 2",
    "ProductSubCategoryId": 1,
    "ProductName": "sample string 3",
    "PurchasePrice": 1.0,
    "SalesPrice": 1.0,
    "CustomerDiscount": 1.0,
    "B2BDiscount": 1.0,
    "ProductDescription": "sample string 4",
    "Property1": "sample string 5",
    "Property2": "sample string 6",
    "Property3": "sample string 7",
    "Property4": "sample string 8",
    "Property5": "sample string 9",
    "StockStartQuantity": 1,
    "StockInQuantity": 1,
    "IsActive": true,
    "DueTypeId": 1,
    "DueTypeDetailId": 1,
    "NeedsToDelete": true,
    "CreatedDate": "2025-12-06T04:37:53.3563398Z",
    "ProductSubCategoryName": "sample string 11",
    "DueTypeName": "sample string 12",
    "DueTypeDetailName": "sample string 13"
  },
  {
    "ProductId": 1,
    "ProductCode": "sample string 2",
    "ProductSubCategoryId": 1,
    "ProductName": "sample string 3",
    "PurchasePrice": 1.0,
    "SalesPrice": 1.0,
    "CustomerDiscount": 1.0,
    "B2BDiscount": 1.0,
    "ProductDescription": "sample string 4",
    "Property1": "sample string 5",
    "Property2": "sample string 6",
    "Property3": "sample string 7",
    "Property4": "sample string 8",
    "Property5": "sample string 9",
    "StockStartQuantity": 1,
    "StockInQuantity": 1,
    "IsActive": true,
    "DueTypeId": 1,
    "DueTypeDetailId": 1,
    "NeedsToDelete": true,
    "CreatedDate": "2025-12-06T04:37:53.3563398Z",
    "ProductSubCategoryName": "sample string 11",
    "DueTypeName": "sample string 12",
    "DueTypeDetailName": "sample string 13"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductBL
NameDescriptionTypeAdditional information
ProductId

integer

None.

ProductCode

string

None.

ProductSubCategoryId

integer

None.

ProductName

string

None.

PurchasePrice

decimal number

None.

SalesPrice

decimal number

None.

CustomerDiscount

decimal number

None.

B2BDiscount

decimal number

None.

ProductDescription

string

None.

Property1

string

None.

Property2

string

None.

Property3

string

None.

Property4

string

None.

Property5

string

None.

StockStartQuantity

integer

None.

StockInQuantity

integer

None.

IsActive

boolean

None.

DueTypeId

integer

None.

DueTypeDetailId

integer

None.

NeedsToDelete

boolean

None.

CreatedDate

date

None.

ProductSubCategoryName

string

None.

DueTypeName

string

None.

DueTypeDetailName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "ProductCode": "sample string 2",
  "ProductSubCategoryId": 1,
  "ProductName": "sample string 3",
  "PurchasePrice": 1.0,
  "SalesPrice": 1.0,
  "CustomerDiscount": 1.0,
  "B2BDiscount": 1.0,
  "ProductDescription": "sample string 4",
  "Property1": "sample string 5",
  "Property2": "sample string 6",
  "Property3": "sample string 7",
  "Property4": "sample string 8",
  "Property5": "sample string 9",
  "StockStartQuantity": 1,
  "StockInQuantity": 1,
  "IsActive": true,
  "DueTypeId": 1,
  "DueTypeDetailId": 1,
  "NeedsToDelete": true,
  "CreatedDate": "2025-12-06T04:37:53.372026Z",
  "ProductSubCategoryName": "sample string 11",
  "DueTypeName": "sample string 12",
  "DueTypeDetailName": "sample string 13"
}