Maurice_Ford1 | 2022-08-19 15:57:03 UTC | #1
Hi,
We're using the /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/data endpoint to retrieve forecast data. We noticed that the results provide the referenceStartDate but no other interval throughout. Are we to assume that each record is for a 15 minute interval and the subsequent record is for the next 15 minute interval?
Is there a different endpoint that will include the intervals?
Eos_Rios | 2022-08-19 16:13:11 UTC | #2
Thats what I've been doing the last 18 months;
int max = p.OfferedPerInterval.Count; for ( int x = 0; x < max; x++) { DateTime interval = weekstart.AddMinutes(15 * x);
brian.trezise | 2022-08-22 13:31:19 UTC | #3
We noticed that the results provide the referenceStartDate but no other interval throughout. Are we to assume that each record is for a 15 minute interval and the subsequent record is for the next 15 minute interval?
This is correct. Because of the number of data points it is not efficient to provide a timestamp for each interval. Each interval is 15 minutes, and the first interval starts at the reference start date.
system | 2022-09-22 13:31:37 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 15960