GET api/Stock/{id}?warehouse={warehouse}
Stock postions of an Item
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Item code |
string |
Required |
| warehouse |
warehouse (if empty or undefines the default warehouse will be used) |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Stock positions
Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| Warehouse | string |
None. |
|
| ItemCode | string |
None. |
|
| Quantity | decimal number |
None. |
|
| AvailableStock | decimal number |
None. |
|
| FreeStock | decimal number |
None. |
|
| QtyToBeDelivered | decimal number |
None. |
|
| QtyToBeReceived | decimal number |
None. |
|
| StockQuantity | integer |
None. |
|
| ModifiedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Warehouse": "sample string 1",
"ItemCode": "sample string 2",
"Quantity": 3.1,
"AvailableStock": 4.1,
"FreeStock": 5.1,
"QtyToBeDelivered": 6.1,
"QtyToBeReceived": 7.1,
"StockQuantity": 8,
"ModifiedDate": "2025-12-06T05:14:09.298083+01:00"
}
application/xml, text/xml
Sample:
<Stock xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Warehouse>sample string 1</Warehouse> <ItemCode>sample string 2</ItemCode> <Quantity>3.1</Quantity> <AvailableStock>4.1</AvailableStock> <FreeStock>5.1</FreeStock> <QtyToBeDelivered>6.1</QtyToBeDelivered> <QtyToBeReceived>7.1</QtyToBeReceived> <StockQuantity>8</StockQuantity> <ModifiedDate>2025-12-06T05:14:09.298083+01:00</ModifiedDate> </Stock>