GET api/v2/workorders/items/stock/{itemSku}
Get the item stock
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
itemSku | string |
Required |
Body Parameters
None
Response Information
Resource Description
ItemStockDtoName | Type | Description | Additional information |
---|---|---|---|
Sku | string |
|
|
WarehouseStock | Collection of StockDto |
|
Response Formats
application/json, text/json
Sample:
{ "Sku": "sample string 1", "WarehouseStock": [ { "Quantity": 1, "WarehouseName": "sample string 2" }, { "Quantity": 1, "WarehouseName": "sample string 2" } ] }
application/xml, text/xml
Sample:
<ItemStockDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gateway.WorkOrdersService.Models"> <Sku>sample string 1</Sku> <WarehouseStock> <StockDto> <Quantity>1</Quantity> <WarehouseName>sample string 2</WarehouseName> </StockDto> <StockDto> <Quantity>1</Quantity> <WarehouseName>sample string 2</WarehouseName> </StockDto> </WarehouseStock> </ItemStockDto>