PUT api/updateinventry
Request Information
URI Parameters
None.
Body Parameters
InvProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| Image | Collection of byte |
None. |
|
| Stockqty | integer |
None. |
|
| CatID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Price": 3.0,
"Image": "QEA=",
"Stockqty": 4,
"CatID": 5
}
application/xml, text/xml
Sample:
<InvProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webapp2.Controllers"> <CatID>5</CatID> <ID>1</ID> <Image>QEA=</Image> <Name>sample string 2</Name> <Price>3</Price> <Stockqty>4</Stockqty> </InvProduct>
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.