Budget Details Lines (List) - Offset and Limit not working correctly

so I have an issue with the offset and limit not working at all on the Budget Details Lines (List), I am just using it on the actual website at the moment as I was experiencing random result sets in code.

So to test I have set the offset to 0, and the limit to 1 and for some reason it returns 2 results, if I then set the offset to 1 and keep the limit at 1. I get the same 2 results. I did try to set the offset to 5 and the limit to 5 and that does actually return 5 results but on both occasions they were the same 5 results as when the offset was 0.

In code, I had the limit set to 500 but then it returned 1500 results, so I changed it to 5000 (the max for this API call) and only 1000 were returned.

Has anyone else had any issues similar to this? I'm certain its not in our code as the website is showing the same erratic behaviour.

Any Help would be appreciated.

Thanks,

Stuart

Categories