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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.