Continuing the discussion from 1.8 Alpha2 API stats - Not Required … Required :
It seems with the API we cannot request a displayId or mediaId without specifying fromDt and toDt. In the swagger documentation everything says not required. You can however send nothing and get everything, based on the API’s predefined search range.
Update: Not sure why, this started working. Please close this non-issue.
It started working because our code was defaulting to the first and last day of the current month as the fromDt and toDt.
So we still need to specify that information, is this by design?
dan
March 11, 2016, 12:26pm
2
If you don’t provide a from/to date then it will default to the previous 24 hours - I should make a note of this on the swagger doc. (i’ll do that now as it happens)
What I have found that it ignores the other parameters completely if we don’t at least specify fromDt OR toDt.
dan
March 14, 2016, 8:14am
4
I’ve tried every which way to recreate this and can’t. I think we might need some logging over a period where this happened.