Hello! I am trying to get every queue item mostly to use for writing reports.
Get queue items can only return 100 at a time and I could just stagger enough calls to that to get all the items in the queue but that is silly and slow.
So now what I am trying to do is get the Jain for the whole queue with HTTP request activity, this part works.
I am then trying to deserialize the Json I get as odataresponselistqueueitemdto. This does create an instance of that type, but context and value are null.
First thing, if a way exists to get an arbitrary number of queue items, that is fine please tell me how.
Second thing, in case this really is the way to do what I am trying to do, why are the members of this object null?
when api in swagger works, then we would expect also a result by HTTP request activity
we assume you are handling properly the authentications as well
if returned JSON is null/empty/without the expected result, then find out the difference.
Else deserialize the JSON and access with the help of the Newtonsoft API
I think ODataResponseListQueueItem is the right type because deserialization would throw an exception otherwise.
I know the json itself is not null and is well formatted as deserialization would throw an exception otherwise
I am for sure interested to know what is going wrong with this in particular, but again the end state is just to get absolutely every queue item in memory all at the same time as objects (preferably queueItems), and again the problem is that GetQueueItems can only return 100. I also know I could get more than 100 by staggering get queue items calls but that is 1-infinity calls across network and I think if this worked it would be guaranteed one single call across network.