GET api/Stock/GetForecastedStocks?ForecastingDate={ForecastingDate}&ItemID={ItemID}&ParentItemID={ParentItemID}&WarehouseType={WarehouseType}&WarehouseID={WarehouseID}&ExcludeObsoleteStock={ExcludeObsoleteStock}&OnlyConfirmedPurchaseOrders={OnlyConfirmedPurchaseOrders}&IncludeProductionPlan={IncludeProductionPlan}&RequestType={RequestType}&Page={Page}&PageSize={PageSize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ForecastingDate | date |
Required |
|
ItemID | string |
None. |
|
ParentItemID | string |
None. |
|
WarehouseType | string |
None. |
|
WarehouseID | string |
None. |
|
ExcludeObsoleteStock | boolean |
None. |
|
OnlyConfirmedPurchaseOrders | boolean |
None. |
|
IncludeProductionPlan | boolean |
None. |
|
RequestType | sqRequestType |
None. |
|
Page | integer |
None. |
|
PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ForecastedStocksName | Description | Type | Additional information |
---|---|---|---|
ForecastedStock | Collection of ForecastedStock |
None. |
Response Formats
application/xml, text/xml
Sample:
<ForecastedStocks xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ForecastedStock> <ItemID>sample string 1</ItemID> <AvailableStock>1</AvailableStock> </ForecastedStock> <ForecastedStock> <ItemID>sample string 1</ItemID> <AvailableStock>1</AvailableStock> </ForecastedStock> </ForecastedStocks>