PUT api/products/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
Body Parameters
ProductDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode | string |
None. |
|
| ProductName | string |
None. |
|
| MakerName | string |
None. |
|
| JanCode | string |
None. |
|
| Price | decimal number |
None. |
|
| UpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductCode": "sample string 1",
"ProductName": "sample string 2",
"MakerName": "sample string 3",
"JanCode": "sample string 4",
"Price": 1.0,
"UpdatedBy": "sample string 5"
}
application/xml, text/xml
Sample:
<ProductDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi"> <JanCode>sample string 4</JanCode> <MakerName>sample string 3</MakerName> <Price>1</Price> <ProductCode>sample string 1</ProductCode> <ProductName>sample string 2</ProductName> <UpdatedBy>sample string 5</UpdatedBy> </ProductDto>
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.