GET api/ProductsWanted/{value}/{qty}/{local}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| value | string |
Required |
|
| qty | integer |
Default value is 10 |
|
| local | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductsWanted| Name | Description | Type | Additional information |
|---|---|---|---|
| Price | decimal number |
None. |
|
| PercentDiscount | decimal number |
None. |
|
| Img1 | string |
None. |
|
| Name | string |
None. |
|
| id | integer |
None. |
|
| Stock | integer |
None. |
|
| parameter2 | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Price": 1.1,
"PercentDiscount": 1.1,
"Img1": "sample string 1",
"Name": "sample string 2",
"id": 3,
"Stock": 4,
"parameter2": "sample string 5"
},
{
"Price": 1.1,
"PercentDiscount": 1.1,
"Img1": "sample string 1",
"Name": "sample string 2",
"id": 3,
"Stock": 4,
"parameter2": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductsWanted xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Carniceria.Models">
<ProductsWanted>
<Img1>sample string 1</Img1>
<Name>sample string 2</Name>
<PercentDiscount>1.1</PercentDiscount>
<Price>1.1</Price>
<Stock>4</Stock>
<id>3</id>
<parameter2>sample string 5</parameter2>
</ProductsWanted>
<ProductsWanted>
<Img1>sample string 1</Img1>
<Name>sample string 2</Name>
<PercentDiscount>1.1</PercentDiscount>
<Price>1.1</Price>
<Stock>4</Stock>
<id>3</id>
<parameter2>sample string 5</parameter2>
</ProductsWanted>
</ArrayOfProductsWanted>