can you please help me in how to get Queue data between two dates using Orchestrator API calls.
“/odata/QueueItems?$filter=QueueDefinitionId eq 12345 and EndProcessing gt 10/07/2020 01:00:00 and EndProcessing lt 10/08/2020 01:00:00”
when I am using above format, I am getting error message saying
Invalid OData query options
Please help me asap
Welcome to the Community!
I’m not sure but it might be that your syntax is wrong. Here you have documentation for this:
There is an example shown for something similar:
Filter parameters can be combined using logical operators “and”, “or” and/or “not” and can be grouped with parentheses “( )”, such as the following request:
https://cloud.uipath.com/odata/Jobs?$top=10&$filter=Robot/MachineName eq 'LAVINIA-PC' and (not(Source eq 'Manual') or StartTime gt 2017-10-28T12:13:00.07Z) - displays the top 10 jobs that are being executred manually or after “2017-10-28T12:13:00.07Z”, by a Robot deployed on the “LAVINIA-PC” machine.