POST API/Products/Delete
Request Information
URI Parameters
None.
Body Parameters
ProductDetailName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductId | integer |
None. |
|
ProductName | string |
None. |
|
UnitPrice | decimal number |
None. |
|
DiscountMode | string |
None. |
|
DiscountValue | decimal number |
None. |
|
ProductTableId | integer |
None. |
|
search | string |
None. |
|
sortBy | string |
None. |
|
reverse | boolean |
None. |
|
itemsPerPage | integer |
None. |
|
page | integer |
None. |
|
Count | integer |
None. |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductId": 2, "ProductName": "sample string 3", "UnitPrice": 4.0, "DiscountMode": "sample string 5", "DiscountValue": 6.0, "ProductTableId": 7, "search": "sample string 8", "sortBy": "sample string 9", "reverse": true, "itemsPerPage": 11, "page": 12, "Count": 13, "UserId": 14 }
application/xml, text/xml
Sample:
<ProductDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobidentAPI.Models"> <Count>13</Count> <DiscountMode>sample string 5</DiscountMode> <DiscountValue>6</DiscountValue> <Id>1</Id> <ProductId>2</ProductId> <ProductName>sample string 3</ProductName> <ProductTableId>7</ProductTableId> <UnitPrice>4</UnitPrice> <UserId>14</UserId> <itemsPerPage>11</itemsPerPage> <page>12</page> <reverse>true</reverse> <search>sample string 8</search> <sortBy>sample string 9</sortBy> </ProductDetail>
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.