| GET | /Warehouse/{IN_LogicalID}/Stock | Retrieve Warehouse stock |
|---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Warehouse/{IN_LogicalID}/Stock HTTP/1.1
Host: localhost
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfsh_WarehouseStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StottHoare.Jiwa.CustomRoutes">
<sh_WarehouseStock>
<IN_LogicalID>String</IN_LogicalID>
<InventoryID>String</InventoryID>
<LatestDateIn>0001-01-01T00:00:00</LatestDateIn>
<LatestLastSavedDateTime>0001-01-01T00:00:00</LatestLastSavedDateTime>
<PartNo>String</PartNo>
<ProductWebEnabled>false</ProductWebEnabled>
<StockOnHand>0</StockOnHand>
<ValueOnHand>0</ValueOnHand>
<WarehouseDescription>String</WarehouseDescription>
</sh_WarehouseStock>
</ArrayOfsh_WarehouseStock>