I am unable to get the queue item information from orchestrator HTTP request made via
/odata/QueueItems?$top=1000&$skip=0&$filter=QueueDefinitionId eq 12505 and EndProcessing ge 2022-12-29T00:00:00Z and EndProcessing ge 2023-01-15T00:00:00Z
Can any one please help me to figure out if this is the right endpoint used?
Even though there are queue items present, it’s not fetching any values. The response received is 200 though.
It is the correct end point. Also you can try via swagger to see if it is returning results.
Also i see an issue in your query.
/odata/QueueItems?$top=1000&$skip=0&$filter=QueueDefinitionId eq 12505 and EndProcessing ge 2022-12-29T00:00:00Z and EndProcessing ge 2023-01-15T00:00:00Z
you have mentioned endprocessing ge than 2023-01-15T00:00:00Z . do you have queue items processed after this? or probably you want to mention lesser than this date?
Does this return only the queue items processed in a day? It’s so strange that when I am using this query, even though there are queue items for dates 6th and 12th, I am only getting the queue items processed on the 13th? DO you know why is that so? Isn’t this expected to return all the queue items processed within the specified range?
“/odata/QueueItems?$top=1000&$skip=0&$filter=QueueDefinitionId eq 12505 and EndProcessing ge 2023-01-05T00:00:00.000Z and EndProcessing ge 2023-01-13T00:00:00.000Z”
Can you please let me know what queury should be used to get all the items processed in the queue within a date range?
Please try this :
“/odata/QueueItems?$top=1000&$skip=0&$filter=QueueDefinitionId eq 12505 and EndProcessing ge 2023-01-05T00:00:00.000Z and EndProcessing le 2023-01-13T00:00:00.000Z”
You have given two times endprocessing greater than . I have changed one of the end processing to less than . so this will give you results between 5th and 13th.