GET api/ProductByCatAll/{id}/{from}/{qty}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| from | integer |
Default value is 0 |
|
| qty | integer |
Default value is 20 |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductApp| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Price | decimal number |
None. |
|
| PercentDiscount | decimal number |
None. |
|
| Img1 | string |
None. |
|
| Img2 | string |
None. |
|
| Img3 | string |
None. |
|
| Img4 | string |
None. |
|
| Img5 | string |
None. |
|
| StockUnity | integer |
None. |
|
| Img1Switch | boolean |
None. |
|
| Img2Switch | boolean |
None. |
|
| Img3Switch | boolean |
None. |
|
| Img4Switch | boolean |
None. |
|
| Img5Switch | boolean |
None. |
|
| images | Collection of string |
None. |
|
| id | integer |
None. |
|
| idCategory | integer |
None. |
|
| nameCat | string |
None. |
|
| switch1 | boolean |
None. |
|
| Available | boolean |
None. |
|
| parameter1 | string |
None. |
|
| parameter2 | string |
None. |
|
| loc1 | boolean |
None. |
|
| loc2 | boolean |
None. |
|
| loc3 | boolean |
None. |
|
| codeloc5 | string |
None. |
|
| ivaPercent | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Description": "sample string 2",
"Price": 1.1,
"PercentDiscount": 1.1,
"Img1": "sample string 3",
"Img2": "sample string 4",
"Img3": "sample string 5",
"Img4": "sample string 6",
"Img5": "sample string 7",
"StockUnity": 1,
"Img1Switch": true,
"Img2Switch": true,
"Img3Switch": true,
"Img4Switch": true,
"Img5Switch": true,
"images": [
"sample string 1",
"sample string 2"
],
"id": 8,
"idCategory": 9,
"nameCat": "sample string 10",
"switch1": true,
"Available": true,
"parameter1": "sample string 12",
"parameter2": "sample string 13",
"loc1": true,
"loc2": true,
"loc3": true,
"codeloc5": "sample string 17",
"ivaPercent": 1.1
},
{
"Name": "sample string 1",
"Description": "sample string 2",
"Price": 1.1,
"PercentDiscount": 1.1,
"Img1": "sample string 3",
"Img2": "sample string 4",
"Img3": "sample string 5",
"Img4": "sample string 6",
"Img5": "sample string 7",
"StockUnity": 1,
"Img1Switch": true,
"Img2Switch": true,
"Img3Switch": true,
"Img4Switch": true,
"Img5Switch": true,
"images": [
"sample string 1",
"sample string 2"
],
"id": 8,
"idCategory": 9,
"nameCat": "sample string 10",
"switch1": true,
"Available": true,
"parameter1": "sample string 12",
"parameter2": "sample string 13",
"loc1": true,
"loc2": true,
"loc3": true,
"codeloc5": "sample string 17",
"ivaPercent": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfProductApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Carniceria.Models">
<ProductApp>
<Available>true</Available>
<Description>sample string 2</Description>
<Img1>sample string 3</Img1>
<Img1Switch>true</Img1Switch>
<Img2>sample string 4</Img2>
<Img2Switch>true</Img2Switch>
<Img3>sample string 5</Img3>
<Img3Switch>true</Img3Switch>
<Img4>sample string 6</Img4>
<Img4Switch>true</Img4Switch>
<Img5>sample string 7</Img5>
<Img5Switch>true</Img5Switch>
<Name>sample string 1</Name>
<PercentDiscount>1.1</PercentDiscount>
<Price>1.1</Price>
<StockUnity>1</StockUnity>
<codeloc5>sample string 17</codeloc5>
<id>8</id>
<idCategory>9</idCategory>
<images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</images>
<ivaPercent>1.1</ivaPercent>
<loc1>true</loc1>
<loc2>true</loc2>
<loc3>true</loc3>
<nameCat>sample string 10</nameCat>
<parameter1>sample string 12</parameter1>
<parameter2>sample string 13</parameter2>
<switch1>true</switch1>
</ProductApp>
<ProductApp>
<Available>true</Available>
<Description>sample string 2</Description>
<Img1>sample string 3</Img1>
<Img1Switch>true</Img1Switch>
<Img2>sample string 4</Img2>
<Img2Switch>true</Img2Switch>
<Img3>sample string 5</Img3>
<Img3Switch>true</Img3Switch>
<Img4>sample string 6</Img4>
<Img4Switch>true</Img4Switch>
<Img5>sample string 7</Img5>
<Img5Switch>true</Img5Switch>
<Name>sample string 1</Name>
<PercentDiscount>1.1</PercentDiscount>
<Price>1.1</Price>
<StockUnity>1</StockUnity>
<codeloc5>sample string 17</codeloc5>
<id>8</id>
<idCategory>9</idCategory>
<images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</images>
<ivaPercent>1.1</ivaPercent>
<loc1>true</loc1>
<loc2>true</loc2>
<loc3>true</loc3>
<nameCat>sample string 10</nameCat>
<parameter1>sample string 12</parameter1>
<parameter2>sample string 13</parameter2>
<switch1>true</switch1>
</ProductApp>
</ArrayOfProductApp>