POST api/Master/InsertProductMaster

Request Information

URI Parameters

None.

Body Parameters

InsertProductRequest
NameDescriptionTypeAdditional information
productMaster

ProductItem

None.

CompKey

integer

None.

ProductKey

integer

None.

Subsordemo

string

None.

YearKey

integer

None.

UserKey

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "productMaster": {
    "productKey": 1,
    "productBarcd": "sample string 2",
    "productCode": "sample string 3",
    "productName": "sample string 4",
    "productDescr": "sample string 5",
    "productNameAr": "sample string 6",
    "productType": "sample string 7",
    "productReord": 8,
    "prodEntryDate": "2026-04-02T05:20:54.9219067+04:00",
    "prodModifyBy": "sample string 10",
    "prodModifyDate": "2026-04-02T05:20:54.9219067+04:00",
    "prodPacKey": 12,
    "prodSizeKey": 13,
    "prodColorKey": 14,
    "costMethod": "sample string 15",
    "productPrice1": 16.1,
    "productPrice2": 17.1,
    "productCost": 18.1,
    "productPricedt": "2026-04-02T05:20:54.9219067+04:00",
    "prodIsActive": true,
    "compKey": 21,
    "taxCategoryKey": 22,
    "taxCategoryName": "sample string 23",
    "prodGroupKey": 24,
    "prodGrpName": "sample string 25",
    "prodLedPurchKey": 26,
    "purchLedName": "sample string 27",
    "prodLedSalesKey": 28,
    "saleLedName": "sample string 29",
    "prodLedCogKey": 30,
    "costLedName": "sample string 31",
    "prodUomKey": 32,
    "prodUomName": "sample string 33",
    "opStockQty": 34.1,
    "opStockRate": 35.1,
    "opProductCost": 36.1,
    "opStockPosted": "sample string 37"
  },
  "CompKey": 1,
  "ProductKey": 2,
  "Subsordemo": "sample string 3",
  "YearKey": 4,
  "UserKey": 5
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.