POST api/Product
Request Information
URI Parameters
None.
Body Parameters
Collection of ProductBL| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
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. |
Request Formats
application/json, text/json
Sample:
[
{
"ProductId": 1,
"ProductSubCategoryId": 1,
"ProductName": "sample string 2",
"PurchasePrice": 1.0,
"SalesPrice": 1.0,
"CustomerDiscount": 1.0,
"B2BDiscount": 1.0,
"ProductDescription": "sample string 3",
"Property1": "sample string 4",
"Property2": "sample string 5",
"Property3": "sample string 6",
"Property4": "sample string 7",
"Property5": "sample string 8",
"StockStartQuantity": 1,
"StockInQuantity": 1,
"IsActive": true,
"DueTypeId": 1,
"DueTypeDetailId": 1,
"NeedsToDelete": true,
"CreatedDate": "2026-01-10T06:59:14.882976-08:00",
"ProductSubCategoryName": "sample string 10"
},
{
"ProductId": 1,
"ProductSubCategoryId": 1,
"ProductName": "sample string 2",
"PurchasePrice": 1.0,
"SalesPrice": 1.0,
"CustomerDiscount": 1.0,
"B2BDiscount": 1.0,
"ProductDescription": "sample string 3",
"Property1": "sample string 4",
"Property2": "sample string 5",
"Property3": "sample string 6",
"Property4": "sample string 7",
"Property5": "sample string 8",
"StockStartQuantity": 1,
"StockInQuantity": 1,
"IsActive": true,
"DueTypeId": 1,
"DueTypeDetailId": 1,
"NeedsToDelete": true,
"CreatedDate": "2026-01-10T06:59:14.882976-08:00",
"ProductSubCategoryName": "sample string 10"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProductBL| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
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. |
Response Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"ProductSubCategoryId": 1,
"ProductName": "sample string 2",
"PurchasePrice": 1.0,
"SalesPrice": 1.0,
"CustomerDiscount": 1.0,
"B2BDiscount": 1.0,
"ProductDescription": "sample string 3",
"Property1": "sample string 4",
"Property2": "sample string 5",
"Property3": "sample string 6",
"Property4": "sample string 7",
"Property5": "sample string 8",
"StockStartQuantity": 1,
"StockInQuantity": 1,
"IsActive": true,
"DueTypeId": 1,
"DueTypeDetailId": 1,
"NeedsToDelete": true,
"CreatedDate": "2026-01-10T06:59:14.882976-08:00",
"ProductSubCategoryName": "sample string 10"
}