Upload Demand Forecast
Forecasting
Upload Demand Forecast
POST
Upload Demand Forecast
Upload demand forecasts for one or more roles.
Demand is the number of staff needed during a 15-minute window — the same
staffing level consumed by the autoscheduler and coverage metrics. A row
spanning more than 15 minutes applies its demand to every 15-minute window
in its range: a day-long row with a demand of 4 means 4 staff are needed
throughout that day.
startDate and endDate must be ISO-8601 strings with an explicit timezone
offset and fall on 15-minute boundaries (:00, :15, :30 or :45). Rows may
be supplied in any order, but rows for the same role must not overlap.
A single request may create at most 50000
15-minute windows (a full year for one role is roughly 35,000).
Any existing forecast data between each role’s first startDate and last
endDate is replaced.
The body may be sent as application/json, or as text/csv with a header
row containing the columns: role, startDate, endDate, demand.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.