Skip to content

Get Forecast by Item

GET /api/forecast-item/{item_id}
GET /api/forecast-item/{item_id}/{warehouse_id}

Required privilege: Forecast / View

Returns forecast lines for a specific item, optionally scoped to a warehouse.


Path Parameters

Parameter Type Required Description
item_id integer Yes Internal Item Master identifier
warehouse_id integer No Internal Warehouse Master identifier

Response

{
  "data": {
    "rows": [
      {
        "id": 501,
        "Forecast List Number": "FC-2024-Q1",
        "Warehouse Number": "WH-01",
        "Forecast Details Quantity": 500,
        "Forecast Details Date": "2024-01-15",
        "Forecast Details Document Status": "Active"
      }
    ]
  }
}

Code Examples

curl -b cookies.txt "https://acme.knosc.com/api/forecast-item/55"
curl -b cookies.txt "https://acme.knosc.com/api/forecast-item/55/3"