I’m trying to filter the data to download only top 100 queueitems from a given queue. But every time I try this method it is exporting the whole queue items but not the “top 100”. Did any one explore the OAuth 2.0 filtering options using this export queue method from UiPath Orchestrator API?
Had you tried swagger for Cross checking?
How do you know the $top filter is not working - can you CTRL+F your Postman response for a key unique to each JSON object returned, and screenshot the output?
FYI - the @odata.count is not the count of items returned, but the total count.
I know it is not working because my next API call to download the report is giving me all the queue items data in the CSV file. Whereas, I only want top 100 rows queueitems data here.
Hey @naveenchvm!
Here is a repository UiPath project containing web API activities that interact with common orchestrator API points.
If you look at the queue items activities, you’ll see how I pass the headers to use the filter and skip/top queries. You can run these activities while connected to an orchestrator.
If this doesn’t get you there, reach out and let me know. I can make a sample postman request to demo, but I don’t have one currently offhand.
- The
$select,$top,$skip,$orderBy, and $countkeywords in our export API are not supported, and we strongly advise that you avoid using them. Please use appropriate filters instead.
Also, you’ll be able to find all the properties that you can filter by for each and every export API. Please check the tables from above-mentioned docs.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.


