GET api/Products/ListByBranchName?branchName={branchName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Product| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdCategory | integer |
None. |
|
| IdBrand | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| CostPrice | decimal number |
None. |
|
| SalePrice | decimal number |
None. |
|
| Stock | integer |
None. |
|
| WarrantyMonths | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"IdCategory": 2,
"IdBrand": 3,
"Name": "sample string 4",
"Description": "sample string 5",
"CostPrice": 6.0,
"SalePrice": 7.0,
"Stock": 8,
"WarrantyMonths": 9
},
{
"Id": 1,
"IdCategory": 2,
"IdBrand": 3,
"Name": "sample string 4",
"Description": "sample string 5",
"CostPrice": 6.0,
"SalePrice": 7.0,
"Stock": 8,
"WarrantyMonths": 9
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.