robleer
Hi, I've made an REST connection, but that system uses pagination to deliver data. Thats a normal way of working.
Can I set the pagination loop somewhere in Aware so I get all the data I want instead of the first page only?
Hi, I've made an REST connection, but that system uses pagination to deliver data. Thats a normal way of working.
Can I set the pagination loop somewhere in Aware so I get all the data I want instead of the first page only?
I've done something like this while syncing an outlook calendar.
Here is a link to how it works with Microsoft graph API:
https://docs.microsoft.com/en-us/graph/paging
What happens is if you select to receive 100 records at a time, and there are more than 100 records, then a 'page 2' (@odata:nextLink) property is returned. You can, in Aware, check if this property is defined in the return, and pass it to the API to receive page 2, and so on.
If you're still stuck with this let me know and I'll find exactly how I did this.
It also might help to know what you're integrating so we can look at the documentation because providers do things a bit differently.
Hi Steve,
Ok, I'd like to see that, because AwareIM does not support loops. How did you do that?
I'm connection to our own LearnLinq system: see: https://demo.learnlinq.com/WebAPI/documentation#operation/Users_Get
You see that we use a size and a page param. We need to loop through the pages and I cannot see how this should be done with Aware. Tia, Rob
Do you perhaps have Skype? It will be easier to assist there.
No Skype, we can use Join.me ?
If you like I send you the temp link
Hi Steve,
I've send you a PM with details a while ago. Did you have time to take a look at it?
Tia,
Rob
Hi Rob.
I'm sending you a mail now, apologies!
Aware IM supports LIMIT keyword as part of the FIND action. This can be used to fetch a particular page. Checkout the Rule Language Guide for details