POST api/Product/updateProduct
Request Information
URI Parameters
None.
Body Parameters
dbo_product_master| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| productname | string |
None. |
|
| productDesc | string |
None. |
|
| curr_rate | decimal number |
None. |
|
| hsn_code | string |
None. |
|
| gst_no | string |
None. |
|
| sub_category_id | integer |
None. |
|
| whole_seller_percent | decimal number |
None. |
|
| retailer_percent | decimal number |
None. |
|
| customer_percent | decimal number |
None. |
|
| product_image | string |
None. |
|
| isDeleted | boolean |
None. |
|
| deleted_date | date |
None. |
|
| added_date | date |
None. |
|
| modify_date | date |
None. |
|
| modify_by | integer |
None. |
|
| added_by | integer |
None. |
|
| deleted_by | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"productname": "sample string 2",
"productDesc": "sample string 3",
"curr_rate": 1.1,
"hsn_code": "sample string 4",
"gst_no": "sample string 5",
"sub_category_id": 1,
"whole_seller_percent": 1.1,
"retailer_percent": 1.1,
"customer_percent": 1.1,
"product_image": "sample string 6",
"isDeleted": true,
"deleted_date": "2025-12-12T04:42:14.9282017+05:30",
"added_date": "2025-12-12T04:42:14.9282017+05:30",
"modify_date": "2025-12-12T04:42:14.9282017+05:30",
"modify_by": 1,
"added_by": 1,
"deleted_by": 1
}
application/xml, text/xml
Sample:
<dbo_product_master xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MahadevFoodsWebAPI.Data"> <added_by>1</added_by> <added_date>2025-12-12T04:42:14.9282017+05:30</added_date> <curr_rate>1.1</curr_rate> <customer_percent>1.1</customer_percent> <deleted_by>1</deleted_by> <deleted_date>2025-12-12T04:42:14.9282017+05:30</deleted_date> <gst_no>sample string 5</gst_no> <hsn_code>sample string 4</hsn_code> <id>1</id> <isDeleted>true</isDeleted> <modify_by>1</modify_by> <modify_date>2025-12-12T04:42:14.9282017+05:30</modify_date> <productDesc>sample string 3</productDesc> <product_image>sample string 6</product_image> <productname>sample string 2</productname> <retailer_percent>1.1</retailer_percent> <sub_category_id>1</sub_category_id> <whole_seller_percent>1.1</whole_seller_percent> </dbo_product_master>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |