The documentation says it’s optional, but it works if I include it and gives error 13 if I exclude it. Is it one of those misleading optionals where it’s actually required if you provide another optional parameter? It doesn’t say so, but that’s my guess!
And a special bonus question: is there a maximum allowed value of BeforeCount? I’ve tried 999999 (hoping it’ll return everything) and it returns nothing but has a Result of “OK”. (There’s definitely something to return!)
Hi Richard!
Regarding your main question - documentation looks clear enough to me. The following text is a quote from it:
"Remarks:
Even if parameters “BeforeTime”, “BeforeCount”, “AfterTIme” and “AfterCount” are marked as optional, at least one of both couples should be provided. Also they only should be used in couples – for example always when “BeforeTime” is set and “BeforeCount” should be provided."
For the bonus question my answer is - it should be working fine with 999999 though it’s not realistic to request that many sequences. If there are a million sequences, it will take forever for the server to calculate and return them.
So I guess there’s some other issue with your call. Can you please provide a request that is working as expected, and a one (with BeforeCount = 999999) that is not working properly?
Thanks. Apologies, didn’t see that rather subtle paragraph. Perhaps the description of each of the parameters should say “see remarks below” or something!