GET Warehouse/StockAllocation?article={article}&partNumber={partNumber}&productArticleNumber={productArticleNumber}&stockId={stockId}&stockLocationId={stockLocationId}&stockGroundId={stockGroundId}
Shows all storage locations and their specific stock of parts
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
article |
limits result to specific article (full text search in article number, ean, name) - optional |
string |
None. |
partNumber |
limits result to specific article (exact partnumber) - optional |
string |
None. |
productArticleNumber |
limits result to specific article (exact productarticlenumber) - optional |
string |
None. |
stockId |
limits result to specific stock - optional |
integer |
None. |
stockLocationId |
limits result to specific stockground - optional |
integer |
None. |
stockGroundId |
limits result to specific stockground - optional |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Enumeration of all storage locations and the stored parts
Collection of InitPro.Ida.Web.Api.Dto.StockAllocationName | Description | Type | Additional information |
---|---|---|---|
StockId |
Id that identifies the stock |
integer |
None. |
StockNumber |
Key that references the stock |
string |
None. |
StockLocationId |
Id that identifies the stocklocation |
integer |
None. |
StockLocation |
Key that references the stocklocation |
string |
None. |
StockGroundId |
Id that identifies the stockground |
integer |
None. |
StockGround |
Key that references the stockground |
string |
None. |
Stock |
Stored articles in this stockground |
Collection of InitPro.Ida.Web.Api.Dto.StockAllocationItem |
None. |
Response Formats
application/json, text/json
[ { "StockId": 1, "StockNumber": "sample string 2", "StockLocationId": 3, "StockLocation": "sample string 4", "StockGroundId": 5, "StockGround": "sample string 6", "Stock": [ { "ArticleId": 1, "Number": "sample string 2", "Name": "sample string 3", "EanCode": "sample string 4", "Total": 5, "Reservation": 6, "Available": 7 }, { "ArticleId": 1, "Number": "sample string 2", "Name": "sample string 3", "EanCode": "sample string 4", "Total": 5, "Reservation": 6, "Available": 7 } ] }, { "StockId": 1, "StockNumber": "sample string 2", "StockLocationId": 3, "StockLocation": "sample string 4", "StockGroundId": 5, "StockGround": "sample string 6", "Stock": [ { "ArticleId": 1, "Number": "sample string 2", "Name": "sample string 3", "EanCode": "sample string 4", "Total": 5, "Reservation": 6, "Available": 7 }, { "ArticleId": 1, "Number": "sample string 2", "Name": "sample string 3", "EanCode": "sample string 4", "Total": 5, "Reservation": 6, "Available": 7 } ] } ]
application/xml, text/xml
<ArrayOfStockAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InitPro.Ida.Web.Api.Dto"> <StockAllocation> <Stock> <StockAllocationItem> <ArticleId>1</ArticleId> <Available>7</Available> <EanCode>sample string 4</EanCode> <Name>sample string 3</Name> <Number>sample string 2</Number> <Reservation>6</Reservation> <Total>5</Total> </StockAllocationItem> <StockAllocationItem> <ArticleId>1</ArticleId> <Available>7</Available> <EanCode>sample string 4</EanCode> <Name>sample string 3</Name> <Number>sample string 2</Number> <Reservation>6</Reservation> <Total>5</Total> </StockAllocationItem> </Stock> <StockGround>sample string 6</StockGround> <StockGroundId>5</StockGroundId> <StockId>1</StockId> <StockLocation>sample string 4</StockLocation> <StockLocationId>3</StockLocationId> <StockNumber>sample string 2</StockNumber> </StockAllocation> <StockAllocation> <Stock> <StockAllocationItem> <ArticleId>1</ArticleId> <Available>7</Available> <EanCode>sample string 4</EanCode> <Name>sample string 3</Name> <Number>sample string 2</Number> <Reservation>6</Reservation> <Total>5</Total> </StockAllocationItem> <StockAllocationItem> <ArticleId>1</ArticleId> <Available>7</Available> <EanCode>sample string 4</EanCode> <Name>sample string 3</Name> <Number>sample string 2</Number> <Reservation>6</Reservation> <Total>5</Total> </StockAllocationItem> </Stock> <StockGround>sample string 6</StockGround> <StockGroundId>5</StockGroundId> <StockId>1</StockId> <StockLocation>sample string 4</StockLocation> <StockLocationId>3</StockLocationId> <StockNumber>sample string 2</StockNumber> </StockAllocation> </ArrayOfStockAllocation>