It seems that you are correct! There is a bug with GetForecastDailyVolumes that is ignoring date filter values. I will talk to our project manager and see when we can slip in a fix.
@HGantz Thank you. Is there a recommended workaround? I can’t get data to return without dates but if I add any date filters, I can’t align the data returned to the actual volume dates.
@JohnC I just did a quick test to see if I could duplicate your issue where you are unable to return any data but I wasn’t able to duplicate your issue. Maybe I’m misunderstanding your issue?
I tried the following using the SDK version v1.23.10 and the latest v1.23.11
var volumesSkipTakeFilter = client.GetForecastDailyVolumes(DefaultProjectId, DefaultForecastId, 25, 200);
var volumesNullFilter = client.GetForecastDailyVolumes(DefaultProjectId, DefaultForecastId, null, null, null, null, null, null, null);
var volumesNoFilter = client.GetForecastDailyVolumes(DefaultProjectId, DefaultForecastId);
For every test, I was able to return data. It may be possible that there is an issue with the actual forecast data you are trying to retrieve, but I’m not sure without more information.
All that said, there is still a bug where the StartDate and EndDate seem to be ignored. However, this is an issue with our actual API, not the SDK and it only seems to be affecting the the daily endpoint. Monthly seems to work as intended.
Just to follow up, I was not getting Volumes back on 1.23.10 with your examples but did get all the Volumes expected after upgrading to 1.23.11 so that should work while waiting on the date filter updates.