PUT api/product/update
Request Information
URI Parameters
None.
Body Parameters
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| UserId | integer |
None. |
|
| ProductName | string |
None. |
|
| Description | string |
None. |
|
| HSNCode | string |
None. |
|
| Price | decimal number |
None. |
|
| GSTRate | decimal number |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"UserId": 2,
"ProductName": "sample string 3",
"Description": "sample string 4",
"HSNCode": "sample string 5",
"Price": 6.0,
"GSTRate": 7.0,
"CreatedAt": "2026-07-25T21:21:42.6292702+05:30",
"UpdatedAt": "2026-07-25T21:21:42.6292702+05:30"
}
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Quotation.Bo"> <CreatedAt>2026-07-25T21:21:42.6292702+05:30</CreatedAt> <Description>sample string 4</Description> <GSTRate>7</GSTRate> <HSNCode>sample string 5</HSNCode> <Price>6</Price> <ProductId>1</ProductId> <ProductName>sample string 3</ProductName> <UpdatedAt>2026-07-25T21:21:42.6292702+05:30</UpdatedAt> <UserId>2</UserId> </Product>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.