Forum Discussion
Get Dataflow Transactions REST API retrieves 10 transactions the first time, but only the 11th after
Hi! it looks like an API limitation. It doesn't have pagination but it limits the response to 10 transactions. I'll leave feedback at the docs specifing that it doesn't say anything about limiting the response 😞
I hope that change in a near future, but for now, it looks like you won't be able to get more transactions.
I hope that make sense.
Hii Any idea, if this limitation has been resolved?
I have recently been encountering this same error wherein the latest refresh isnt being being pulled in the top 10 transactions.
- MorelG1 year agoAdvocate I
Hello,
today I tried to add top parameter to an api call request:groups/{GroupId}/dataflows/{DataflowId}/transactions?$top=100Then the api call returns more than 10 transactions. Unfortunately this option is not described in Microsoft documentation.
- rjhale1 year agoHelper V
The $top parameter doesn't seem to work for me. I get an error stating "No HTTP resource was found that matches the request url". This is really frustrating as the call seems to return an almost random set of Dataflow transactions which makes it hard to validate that our Dataflows are working as expected.
Any other thoughts on how to ensure we get the latest 10 or even the full set of transactions?
- MorelG1 year agoAdvocate I
Hello,
maybe one update. In case you are running an API call from Powershell, let's try this:groups/{GroupId}/dataflows/{DataflowId}/transactions?`$top=100Also do not forget to add ? character after transactions. Otherwise it is not recognized that you are using additional parameters.
It has been working in our environment prety well, but I definitely agree that this limitation is frustrating while working with dataflow API.