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. |
|
| cImg | string |
None. |
|
| cImg1 | string |
None. |
|
| cImg2 | string |
None. |
|
| bImg | string |
None. |
|
| bImg1 | 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",
"cImg": "sample string 8",
"cImg1": "sample string 9",
"cImg2": "sample string 10",
"bImg": "sample string 11",
"bImg1": "sample string 12",
"Price": 13,
"actual_price": 14,
"Shipping_price": 15,
"BrandId": 16,
"UserId": 17,
"Qty": 18,
"Unit": 19
}
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>16</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>13</Price> <ProductId>1</ProductId> <ProductName>sample string 1</ProductName> <Qty>18</Qty> <Shipping_price>15</Shipping_price> <Unit>19</Unit> <UserId>17</UserId> <actual_price>14</actual_price> <bImg>sample string 11</bImg> <bImg1>sample string 12</bImg1> <cImg>sample string 8</cImg> <cImg1>sample string 9</cImg1> <cImg2>sample string 10</cImg2> </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>