POST api/Ecomm/addProduct?companycode={companycode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companycode | string |
Required |
Body Parameters
ItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| description | string |
None. |
|
| Unit | string |
None. |
|
| EAN | string |
None. |
|
| MRP | decimal number |
None. |
|
| Tax | decimal number |
None. |
|
| SRate | decimal number |
None. |
|
| Category | string |
None. |
|
| Inventory | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemCode": "sample string 1",
"ItemName": "sample string 2",
"description": "sample string 3",
"Unit": "sample string 4",
"EAN": "sample string 5",
"MRP": 6.0,
"Tax": 7.0,
"SRate": 8.0,
"Category": "sample string 9",
"Inventory": 10
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.