Skip to content

Forecast Over Time

GET /api/forecast-over-time

Required privilege: Forecast Over Time / View

Returns historical forecast data aggregated over time, useful for tracking how forecasts have evolved across periods.


Query Parameters

Standard filter, sort, and pagination parameters apply. See Filtering & Sorting.


Response

{
  "data": {
    "headers": [
      { "key": "Item Number", "format": "string-link" },
      { "key": "Warehouse Number", "format": "string-link" },
      { "key": "Period", "format": "date" },
      { "key": "Forecast Quantity", "format": "number" },
      { "key": "Actual Quantity", "format": "number" },
      { "key": "Variance", "format": "number" }
    ],
    "rows": [
      {
        "Item Number": "ITEM-A",
        "Warehouse Number": "WH-01",
        "Period": "2024-01-01",
        "Forecast Quantity": 500,
        "Actual Quantity": 480,
        "Variance": -20
      }
    ]
  }
}
Field Type Description
Period string Start date of the forecast period
Forecast Quantity number Quantity forecasted for this period
Actual Quantity number Quantity actually fulfilled
Variance number Actual minus forecasted quantity

Code Examples

curl -b cookies.txt "https://acme.knosc.com/api/forecast-over-time"