POST api/Master/InsertProductMaster
Request Information
URI Parameters
None.
Body Parameters
InsertProductRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| productMaster | ProductItem |
None. |
|
| CompKey | integer |
None. |
|
| ProductKey | integer |
None. |
|
| Subsordemo | string |
None. |
|
| IsProductPack | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"productMaster": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodCode": "sample string 3",
"prodName": "sample string 4",
"prodNameAr": "sample string 5",
"prodDesc": "sample string 6",
"prodDescAr": "sample string 7",
"prodPrice1": 8.0,
"prodPrice2": 9.0,
"prodPrice3": 10.0,
"prodCost": 11.0,
"taxCategoryKey": 12,
"taxCategoryName": "sample string 13",
"prodDeptKey": 14,
"prodDeptCode": "sample string 15",
"prodDeptName": "sample string 16",
"prodCatogKey": 17,
"prodCatogCode": "sample string 18",
"prodCatogName": "sample string 19",
"prodTypeKey": 20,
"prodTypeCode": "sample string 21",
"prodTypeName": "sample string 22",
"staKey": 23,
"staCode": "sample string 24",
"staName": "sample string 25",
"prodIsActive": true,
"prodImgPath": "sample string 27",
"prodIconName": "sample string 28",
"prodVideoPath": "sample string 29",
"prodTimeReq": 30.0,
"compKey": 31,
"isProductPack": true
},
"CompKey": 1,
"ProductKey": 2,
"Subsordemo": "sample string 3",
"IsProductPack": 4
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.