GET api/Product?supp={supp}&cat={cat}&brand={brand}&status={status}&model={model}&search={search}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supp | string |
Required |
|
| cat | string |
Required |
|
| brand | string |
Required |
|
| status | string |
Required |
|
| model | string |
Required |
|
| search | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Product| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| SupplierID | integer |
None. |
|
| SupplierName | string |
None. |
|
| CategoryName | string |
None. |
|
| BrandName | string |
None. |
|
| ModelName | string |
None. |
|
| BarCode | string |
None. |
|
| Description | string |
None. |
|
| Price | decimal number |
None. |
|
| SupplierDiscount | string |
None. |
|
| SupplierDiscountAmount | decimal number |
None. |
|
| Cost | decimal number |
None. |
|
| SRP | decimal number |
None. |
|
| WholeSalePrice | decimal number |
None. |
|
| MaxDiscount | decimal number |
None. |
|
| Unit | string |
None. |
|
| Stocks | decimal number |
None. |
|
| ReorderLevel | integer |
None. |
|
| Discontinued | boolean |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| LastDatePurchased | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductID": 1,
"SupplierID": 2,
"SupplierName": "sample string 3",
"CategoryName": "sample string 4",
"BrandName": "sample string 5",
"ModelName": "sample string 6",
"BarCode": "sample string 7",
"Description": "sample string 8",
"Price": 9.0,
"SupplierDiscount": "sample string 10",
"SupplierDiscountAmount": 11.0,
"Cost": 12.0,
"SRP": 13.0,
"WholeSalePrice": 14.0,
"MaxDiscount": 15.0,
"Unit": "sample string 16",
"Stocks": 17.1,
"ReorderLevel": 18,
"Discontinued": true,
"CreatedBy": "sample string 20",
"CreatedDate": "2026-08-13T15:03:12.0109061+08:00",
"UpdatedBy": "sample string 22",
"UpdatedDate": "2026-08-13T15:03:12.0109061+08:00",
"LastDatePurchased": "2026-08-13T15:03:12.0109061+08:00"
},
{
"ProductID": 1,
"SupplierID": 2,
"SupplierName": "sample string 3",
"CategoryName": "sample string 4",
"BrandName": "sample string 5",
"ModelName": "sample string 6",
"BarCode": "sample string 7",
"Description": "sample string 8",
"Price": 9.0,
"SupplierDiscount": "sample string 10",
"SupplierDiscountAmount": 11.0,
"Cost": 12.0,
"SRP": 13.0,
"WholeSalePrice": 14.0,
"MaxDiscount": 15.0,
"Unit": "sample string 16",
"Stocks": 17.1,
"ReorderLevel": 18,
"Discontinued": true,
"CreatedBy": "sample string 20",
"CreatedDate": "2026-08-13T15:03:12.0109061+08:00",
"UpdatedBy": "sample string 22",
"UpdatedDate": "2026-08-13T15:03:12.0109061+08:00",
"LastDatePurchased": "2026-08-13T15:03:12.0109061+08:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.Common.Models">
<Product>
<BarCode>sample string 7</BarCode>
<BrandName>sample string 5</BrandName>
<CategoryName>sample string 4</CategoryName>
<Cost>12</Cost>
<CreatedBy>sample string 20</CreatedBy>
<CreatedDate>2026-08-13T15:03:12.0109061+08:00</CreatedDate>
<Description>sample string 8</Description>
<Discontinued>true</Discontinued>
<LastDatePurchased>2026-08-13T15:03:12.0109061+08:00</LastDatePurchased>
<MaxDiscount>15</MaxDiscount>
<ModelName>sample string 6</ModelName>
<Price>9</Price>
<ProductID>1</ProductID>
<ReorderLevel>18</ReorderLevel>
<SRP>13</SRP>
<Stocks>17.1</Stocks>
<SupplierDiscount>sample string 10</SupplierDiscount>
<SupplierDiscountAmount>11</SupplierDiscountAmount>
<SupplierID>2</SupplierID>
<SupplierName>sample string 3</SupplierName>
<Unit>sample string 16</Unit>
<UpdatedBy>sample string 22</UpdatedBy>
<UpdatedDate>2026-08-13T15:03:12.0109061+08:00</UpdatedDate>
<WholeSalePrice>14</WholeSalePrice>
</Product>
<Product>
<BarCode>sample string 7</BarCode>
<BrandName>sample string 5</BrandName>
<CategoryName>sample string 4</CategoryName>
<Cost>12</Cost>
<CreatedBy>sample string 20</CreatedBy>
<CreatedDate>2026-08-13T15:03:12.0109061+08:00</CreatedDate>
<Description>sample string 8</Description>
<Discontinued>true</Discontinued>
<LastDatePurchased>2026-08-13T15:03:12.0109061+08:00</LastDatePurchased>
<MaxDiscount>15</MaxDiscount>
<ModelName>sample string 6</ModelName>
<Price>9</Price>
<ProductID>1</ProductID>
<ReorderLevel>18</ReorderLevel>
<SRP>13</SRP>
<Stocks>17.1</Stocks>
<SupplierDiscount>sample string 10</SupplierDiscount>
<SupplierDiscountAmount>11</SupplierDiscountAmount>
<SupplierID>2</SupplierID>
<SupplierName>sample string 3</SupplierName>
<Unit>sample string 16</Unit>
<UpdatedBy>sample string 22</UpdatedBy>
<UpdatedDate>2026-08-13T15:03:12.0109061+08:00</UpdatedDate>
<WholeSalePrice>14</WholeSalePrice>
</Product>
</ArrayOfProduct>