POST api/common/ManageProduct
Request Information
URI Parameters
None.
Body Parameters
ManagePDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| ProductName | string |
None. |
|
| Feature | string |
None. |
|
| Category | integer |
None. |
|
| CategoryName | string |
None. |
|
| Img | string |
None. |
|
| Img1 | string |
None. |
|
| Img2 | string |
None. |
|
| Price | integer |
None. |
|
| actual_price | integer |
None. |
|
| Shipping_price | integer |
None. |
|
| BrandId | integer |
None. |
|
| UserId | integer |
None. |
|
| Qty | integer |
None. |
|
| Unit | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"ProductName": "sample string 1",
"Feature": "sample string 2",
"Category": 3,
"CategoryName": "sample string 4",
"Img": "sample string 5",
"Img1": "sample string 6",
"Img2": "sample string 7",
"Price": 8,
"actual_price": 9,
"Shipping_price": 10,
"BrandId": 11,
"UserId": 12,
"Qty": 13,
"Unit": 14
}
application/xml, text/xml
Sample:
<Modal.ManagePDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VeggieMart.Models"> <BrandId>11</BrandId> <Category>3</Category> <CategoryName>sample string 4</CategoryName> <Feature>sample string 2</Feature> <Img>sample string 5</Img> <Img1>sample string 6</Img1> <Img2>sample string 7</Img2> <Price>8</Price> <ProductId>1</ProductId> <ProductName>sample string 1</ProductName> <Qty>13</Qty> <Shipping_price>10</Shipping_price> <Unit>14</Unit> <UserId>12</UserId> <actual_price>9</actual_price> </Modal.ManagePDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>