GET StockLocations/{SiteID}
Returns a list of stock locations for the Site
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
SiteID | integer |
Body Parameters
None.
Response Information
Resource Description
Collection of StockLocationModelName | Type | Description | Additional information |
---|---|---|---|
SiteID | integer |
None. |
|
StockLocationID | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SiteID": 1, "StockLocationID": 2, "Name": "sample string 3" }, { "SiteID": 1, "StockLocationID": 2, "Name": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfStockLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models"> <StockLocationModel> <Name>sample string 3</Name> <SiteID>1</SiteID> <StockLocationID>2</StockLocationID> </StockLocationModel> <StockLocationModel> <Name>sample string 3</Name> <SiteID>1</SiteID> <StockLocationID>2</StockLocationID> </StockLocationModel> </ArrayOfStockLocationModel>