I'm attempting to fetch all objects of a given type in Assets. We have 5000+ objects of the type "Computer" in our database, but when we query this object type via the API, the total returned is 1000.
Query route:
The post body:
Response:
Hi Bakonis you need to use the startAt parameter to made in your case 5 api calls or as many as you need.
Something like this:
- api call var = /object/aql/totalcount
- for i = 1 i <= var i++ /object/aql?startAt i
Thank you! That's what I needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.