GET api/WarehouseStock/GetStockByRef?stockRef={stockRef}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockRef | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WarehouseStock| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| WarehouseCode | string |
None. |
|
| StockRef | string |
None. |
|
| FreeStockQuantity | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"WarehouseCode": "sample string 2",
"StockRef": "sample string 3",
"FreeStockQuantity": 4.0
},
{
"Id": 1,
"WarehouseCode": "sample string 2",
"StockRef": "sample string 3",
"FreeStockQuantity": 4.0
}
]
application/xml, text/xml
Sample:
<ArrayOfWarehouseStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMHEntities">
<WarehouseStock>
<FreeStockQuantity>4</FreeStockQuantity>
<Id>1</Id>
<StockRef>sample string 3</StockRef>
<WarehouseCode>sample string 2</WarehouseCode>
</WarehouseStock>
<WarehouseStock>
<FreeStockQuantity>4</FreeStockQuantity>
<Id>1</Id>
<StockRef>sample string 3</StockRef>
<WarehouseCode>sample string 2</WarehouseCode>
</WarehouseStock>
</ArrayOfWarehouseStock>